Class DataSourceValueBase
Version: 4.0
Values for a IDataSource. Also known as 'option list value'.
Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBaseDataSources
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public abstract class DataSourceValueBase : IDataSourceValue
Constructors
DataSourceValueBase(string, IDictionary<CultureInfo, string>)
Initializes a new instance of the DataSourceValueBase class.
Declaration
RequestResponse
protected DataSourceValueBase(string identifier, IDictionary<CultureInfo, string> labels)
Parameters
Type | Name | Description |
---|---|---|
string | identifier |
The identifier. |
IDictionary<, >CultureInfostring | labels |
The labels. |
DataSourceValueBase(string)
Initializes a new instance of the DataSourceValueBase class.
Declaration
RequestResponse
protected DataSourceValueBase(string identifier)
Parameters
Type | Name | Description |
---|---|---|
string | identifier |
The identifier. |
Properties
Identifier
Gets the name of the value. Because it is used as an identifier, it needs to be unique.
Declaration
RequestResponse
public string Identifier { get; }
Property Value
Type | Description |
---|---|
string |
Labels
Gets the canonical name and optional other translated values.
Declaration
RequestResponse
public IDictionary<CultureInfo, string> Labels { get; }
Property Value
Type | Description |
---|---|
IDictionary<, >CultureInfostring |