IReadOnlyConfigurationData is defined in the Telligent.Evolution.Extensibility.Configuration.Version1 namespace of Telligent.Evolution.Platform.dll
Definition
interface IReadOnlyConfigurationData
{
bool? GetBoolValue(string propertyName, bool? defaultValue);
Color GetColorValue(string propertyName, Color defaultValue);
string GetCustomValue(string propertyName, string defaultValue);
DateTime? GetDateTimeValue(string propertyName, DateTime? defaultValue);
double? GetDoubleValue(string propertyName, double? defaultValue);
Guid? GetGuidValue(string propertyName, Guid? defaultValue);
string GetHtmlValue(string propertyName, string defaultValue);
int? GetIntValue(string propertyName, int? defaultValue);
string GetStringValue(string propertyName, string defaultValue);
Unit GetUnitValue(string propertyName, Unit defaultValue);
Uri[] GetUrlListValue(string propertyName, Uri[] defaultValue);
Uri GetUrlValue(string propertyName, Uri defaultValue);
}
Methods
bool? GetBoolValue(string propertyName, bool? defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | bool? | Default Value | Required |
Return Type
bool?
Color GetColorValue(string propertyName, Color defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | Color | Default Value | Required |
Return Type
string GetCustomValue(string propertyName, string defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | string | Default Value | Required |
Return Type
string
DateTime? GetDateTimeValue(string propertyName, DateTime? defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | DateTime? | Default Value | Required |
Return Type
DateTime?
double? GetDoubleValue(string propertyName, double? defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | double? | Default Value | Required |
Return Type
double?
Guid? GetGuidValue(string propertyName, Guid? defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | Guid? | Default Value | Required |
Return Type
Guid?
string GetHtmlValue(string propertyName, string defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | string | Default Value | Required |
Return Type
string
int? GetIntValue(string propertyName, int? defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | int? | Default Value | Required |
Return Type
int?
string GetStringValue(string propertyName, string defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | string | Default Value | Required |
Return Type
string
Unit GetUnitValue(string propertyName, Unit defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | Unit | Default Value | Required |
Return Type
Uri[] GetUrlListValue(string propertyName, Uri[] defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | Uri[] | Default Value | Required |
Return Type
Uri[]
Uri GetUrlValue(string propertyName, Uri defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| propertyName | string | Property Name | Required | ||
| defaultValue | Uri | Default Value | Required |
Return Type
Uri