Method | Description | |
---|---|---|
DynamicRoutes ( System.Web.Mvc.UrlHelper helper ) : System |
Initializes a new instance of the DynamicRoutes class.
|
|
Root ( bool includeAppPath = true ) : string |
Get root of application.
|
|
TryGetMember ( |
Provides the implementation for operations that get member values. Classes derived from the T:System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property.
|
|
TryInvokeMember ( |
Provides the implementation for operations that invoke a member. Classes derived from the T:System.Dynamic.DynamicObject class can override this method to specify dynamic behavior for operations such as calling a method.
|
Method | Description | |
---|---|---|
GetPartialName ( string stems, string startWord, string stopWords ) : string | ||
GetUrl ( string methodName, object args, ReadOnlyCollection |
Resolves method name with arguments to url.
|
public DynamicRoutes ( System.Web.Mvc.UrlHelper helper ) : System | ||
helper | System.Web.Mvc.UrlHelper | The helper. |
return | System |
public Root ( bool includeAppPath = true ) : string | ||
includeAppPath | bool | if set to |
return | string |
public TryGetMember ( |
||
binder | Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the |
|
result | object | The result of the get operation. For example, if the method is called for a property, you can assign the property value to |
return | bool |
public TryInvokeMember ( |
||
binder | Provides information about the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the statement sampleObject.SampleMethod(100), where sampleObject is an instance of the class derived from the |
|
args | object | The arguments that are passed to the object member during the invoke operation. For example, for the statement sampleObject.SampleMethod(100), where sampleObject is derived from the |
result | object | The result of the member invocation. |
return | bool |