- 命名空间: Limyee.Extensibility.EmbeddableContent.Version1
- 程序集: Limyee.Api.dll
定义
interface IEmbeddableContentFragment { Guid ContentId { get; } Guid ContentTypeId { get; } Guid EmbeddedContentWidgetTypeId { get; } Guid Id { get; } bool GetBool(string propertyId); Color GetColor(string propertyId); string GetCustom(string propertyId); DateTime GetDateTime(string propertyId); double GetDouble(string propertyId); Guid GetGuid(string propertyId); string GetHtml(string propertyId); int GetInt(string propertyId); string GetString(string propertyId); Unit GetUnit(string propertyId); Uri GetUrl(string propertyId); }
属性
名称 |
类型 |
描述 |
默认值 |
选项 |
ContentId |
Guid |
|||
ContentTypeId |
Guid |
|||
EmbeddedContentWidgetTypeId |
Guid |
|||
Id |
Guid |
方法
bool GetBool(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
bool
Color GetColor(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
Color
string GetCustom(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
string
DateTime GetDateTime(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
DateTime
double GetDouble(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
double
Guid GetGuid(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
Guid
string GetHtml(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
string
int GetInt(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
int
string GetString(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
string
Unit GetUnit(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
Unit
Uri GetUrl(string propertyId);
参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
propertyId |
string |
Property Id |
是 |
返回类型
Uri