Method | Description | |
---|---|---|
AddDefaultRule ( string url, string area, string controller, string action ) : void |
Adds the default rule mapping. A defautl rule can associate something like a 'default.castle' to a controller/action like 'Home/index.castle' |
|
Service ( IServiceProvider provider ) : void |
Services the specified provider.
|
|
TokenizeUrl ( string rawUrl, |
Tokenizes the URL.
|
Method | Description | |
---|---|---|
GetDomainToken ( string domain, int token ) : string |
Gets the domain token.
|
|
GetExtension ( string url ) : string |
Gets the extension of the requested urls page without the preceding period.
|
Method | Description | |
---|---|---|
ExtractAreaControllerAction ( string rawUrl, string &area, string &controller, string &action ) : void |
Extracts the area controller action.
|
public AddDefaultRule ( string url, string area, string controller, string action ) : void | ||
url | string | The URL. |
area | string | The area. |
controller | string | The controller. |
action | string | The action. |
return | void |
protected static GetDomainToken ( string domain, int token ) : string | ||
domain | string | The domain. |
token | int | The token index. |
return | string |
protected static GetExtension ( string url ) : string | ||
url | string | URL. |
return | string |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | The provider. |
return | void |
public TokenizeUrl ( string rawUrl, |
||
rawUrl | string | The raw URL. |
uri | The URI. | |
isLocal | bool | if set to |
appVirtualDir | string | Virtual directory |
return | System.UrlInfo |