1. DataSourceValueBase

Class DataSourceValueBase

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
public abstract class DataSourceValueBase : IDataSourceValue

Constructors

DataSourceValueBase(string, IDictionary<CultureInfo, string>)

Initializes a new instance of the DataSourceValueBase class.

Declaration
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
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
public string Identifier { get; }
Property Value
TypeDescription
string

Labels

Gets the canonical name and optional other translated values.

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

Implements

If you have suggestions for improving this article, let us know!