- 命名空间: Limyee.Extensibility.Urls.Version1
- 程序集: Limyee.Core.dll
定义
class PageContext { Guid? ApplicationTypeId { get; set; } Guid? ContainerTypeId { get; set; } IContextCollection ContextItems { get; set; } bool? PageIsCustom { get; set; } string PageName { get; set; } Guid? ThemeApplicationId { get; set; } Guid? ThemeTypeId { get; set; } string UrlName { get; set; } int UserId { get; set; } Object GetTokenValue(string token); }
属性
名称 |
类型 |
描述 |
默认值 |
选项 |
ApplicationTypeId |
Guid? |
Identifies the application type of a url if applicable. |
||
ContainerTypeId |
Guid? |
Identifies the container type of a url if applicable. |
||
ContextItems |
IContextCollection |
A collection of items in the current context of the url, usually placed there when ParseContext is called on a url. |
||
PageIsCustom |
bool? |
Identifies if the page is custom. |
||
PageName |
string |
The name of the page. |
||
ThemeApplicationId |
Guid? |
Identifies the thememable application's identifier if applicable. |
||
ThemeTypeId |
Guid? |
Identifies the theme type of a url if applicable. |
||
UrlName |
string |
The name of the url as identified in the url collection. |
||
UserId |
int |
The Id of the accessing user. |
方法
Object GetTokenValue(string token);
Obtains the value passed in the place of a defined url token without the { } braces.
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
token |
string |
Token |
Required |
返回类型
Object