IRuleExecutionRuntime is defined in the Telligent.Evolution.Extensibility.Rules.Version2 namespace of Telligent.Evolution.Platform.dll
Definition
interface IRuleExecutionRuntime
{
string ContextToken { get; }
Rule CurrentRule { get; set; }
bool? GetBool(string propertyId);
Color GetColor(string propertyId);
string GetContextualValue();
string GetCustom(string propertyId);
Content GetCustomContent(string propertyId);
DateTime GetCustomDateTime(string propertyId);
Group GetCustomGroup(string propertyId);
User GetCustomUser(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);
}
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| ContextToken | string | |||
| CurrentRule | Rule |
Methods
bool? GetBool(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
bool?
Color GetColor(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
string GetContextualValue();
Return Type
string
string GetCustom(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
string
Content GetCustomContent(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
DateTime GetCustomDateTime(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
DateTime
Group GetCustomGroup(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
User GetCustomUser(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
DateTime? GetDateTime(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
DateTime?
double? GetDouble(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
double?
Guid? GetGuid(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
Guid?
string GetHtml(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
string
int? GetInt(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
int?
string GetString(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
string
Unit GetUnit(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
Uri GetUrl(string propertyId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyId | string | Property Id | Required |
Return Type
Uri