Class SettingsClientBase
Base implementation if ISettingsClient.
Inheritance
object
SettingsClientBase
Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsClients
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
SettingsClientBase(IMClient)
Initializes a new instance of the SettingsClientBase class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IMClient | client | The client. |
Methods
GetCategoryIdAsync(string)
Gets a category id.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the category. |
Returns
| Type | Description |
|---|---|
| Task<>long | The category id. |
GetSettingAsync(string, string, IEntityLoadConfiguration)
Gets a setting.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | category | The category of the setting. |
| string | name | The name of the setting. |
| IEntityLoadConfiguration | loadConfiguration | The IEntityLoadConfiguration. |
Returns
GetSettingsForCategoryAsync(string, IEntityLoadConfiguration)
Gets all settings in a category.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | category | The category of the setting. |
| IEntityLoadConfiguration | loadConfiguration | The IEntityLoadConfiguration. |
Returns
Exceptions
| Type | Condition |
|---|---|
| NotFoundException | If the category was not found. |
Implements
If you have suggestions for improving this article, let us know!