Class DataSourceBase
A base class for data sources.
Inheritance
object
DataSourceBase
Implements
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBaseDataSourcesGeneric
Assembly: Stylelabs.M.Sdk.dll
Syntax
Type Parameters
| Name | Description |
|---|---|
| T | The type. |
Constructors
DataSourceBase(string, IDictionary<CultureInfo, string>, IList)
Initializes a new instance of the DataSourceBase
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the data source. |
| IDictionary<, >CultureInfostring | labels | The labels for the data source. |
| IList<> | values | The values for the data source. |
DataSourceBase(string)
Initializes a new instance of the DataSourceBase
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the data source. |
Properties
Values
Gets the list of data source values.
Declaration
Property Value
| Type | Description |
|---|---|
| IList<> |
Methods
GetDataSourceValues()
Gets a list of the data source values. Use the properties on IFlatDataSource or IHierarchicalDataSource. to make changes.
Declaration
Returns
| Type | Description |
|---|---|
| IList<>IDataSourceValue | The list of IDataSourceValue. |
Overrides
Implements
If you have suggestions for improving this article, let us know!