- 命名空间: Limyee.Extensibility.Api.Version1
- 程序集: Limyee.Core.dll
定义
interface IContainer { string AvatarUrl { get; } Guid ContainerId { get; } Guid ContainerTypeId { get; } bool IsEnabled { get; } string Url { get; } string HtmlName(string target); }
属性
名称 |
类型 |
描述 |
默认值 |
选项 |
AvatarUrl |
string |
The Url to the container’s avatar. |
||
ContainerId |
Guid |
A Guid uniquely identifying the container. |
||
ContainerTypeId |
Guid |
A Guid identifying the type of container. All container of the same type (i.e. group) will have the same value here. |
||
IsEnabled |
bool |
A flag representing whether the container is enabled. |
||
Url |
string |
A Url to the container on the site. |
方法
string HtmlName(string target);
This method should return the Html encoded name of the container. Possible values for “target” are “Web”, “Email”, or “raw”. When “raw” is specified as the target, the name should not be encoded.
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
target |
string |
Target |
是 |
返回类型
string