Interface ISettingsGroup
Assembly: Sdl.Core.Settings.dll
Syntax
public interface ISettingsGroup
Properties
EventsSuspended
Declaration
bool EventsSuspended { get; }
Property Value
Type |
Description |
System.Boolean |
|
Id
Declaration
Property Value
Type |
Description |
System.String |
|
Parent
Declaration
ISettingsGroup Parent { get; }
Property Value
SettingsBundle
Declaration
ISettingsBundle SettingsBundle { get; }
Property Value
Methods
ContainsSetting(String)
Declaration
bool ContainsSetting(string settingId)
Parameters
Type |
Name |
Description |
System.String |
settingId |
|
Returns
Type |
Description |
System.Boolean |
|
GetSetting<T>(String)
Declaration
Setting<T> GetSetting<T>(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
Type Parameters
GetSetting<T>(String, T)
Declaration
Setting<T> GetSetting<T>(string settingId, T defaultValue)
Parameters
Type |
Name |
Description |
System.String |
settingId |
|
T |
defaultValue |
|
Returns
Type Parameters
GetSetting<T>(String, out T)
Declaration
bool GetSetting<T>(string settingId, out T value)
Parameters
Type |
Name |
Description |
System.String |
settingId |
|
T |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
GetSetting<T>(String, out Setting<T>)
Declaration
bool GetSetting<T>(string settingId, out Setting<T> setting)
Parameters
Type |
Name |
Description |
System.String |
settingId |
|
Setting<T> |
setting |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
GetSettingIds()
Declaration
IEnumerable<string> GetSettingIds()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
ImportSettings(ISettingsGroup)
Declaration
void ImportSettings(ISettingsGroup otherGroup)
Parameters
RemoveSetting(String)
Declaration
bool RemoveSetting(string settingId)
Parameters
Type |
Name |
Description |
System.String |
settingId |
|
Returns
Type |
Description |
System.Boolean |
|
Reset()
Declaration
ResumeEvents()
Declaration
SuspendEvents()
Declaration
Events
SettingsChanged
Declaration
event EventHandler<SettingsChangedEventArgs> SettingsChanged
Event Type