Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат | void |
protected static GetDomainToken ( string domain, int token ) : string | ||
domain | string | The domain. |
token | int | The token index. |
Результат | string |
protected static GetExtension ( string url ) : string | ||
url | string | URL. |
Результат | string |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | The provider. |
Результат | void |
public TokenizeUrl ( string rawUrl, |
||
rawUrl | string | The raw URL. |
uri | The URI. | |
isLocal | bool | if set to |
appVirtualDir | string | Virtual directory |
Результат | System.UrlInfo |