Class DataSourceValueBase

Version: 4.0

Values for a IDataSource. Also known as 'option list value'.

Inheritance
object
DataSourceValueBase
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
TypeNameDescription
stringidentifier

The identifier.

IDictionary<, >CultureInfostringlabels

The labels.

DataSourceValueBase(string)

Initializes a new instance of the DataSourceValueBase class.

Declaration
RequestResponse
protected DataSourceValueBase(string identifier)
Parameters
TypeNameDescription
stringidentifier

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
TypeDescription
string

Labels

Gets the canonical name and optional other translated values.

Declaration
RequestResponse
public IDictionary<CultureInfo, string> Labels { get; }
Property Value
TypeDescription
IDictionary<, >CultureInfostring

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,