Interface ISettingsGroup
Namespace: SdlSdl.CoreSettings
Assembly: Sdl.Core.Settings.dll
Syntax
public interface ISettingsGroup : INotifyPropertyChanged, IEditableObject
Properties
EventsSuspended
Declaration
bool EventsSuspended { get; }
Property Value
Id
Declaration
Property Value
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 |
string |
settingId |
|
Returns
GetSettingIds()
Declaration
IEnumerable<string> GetSettingIds()
Returns
GetSetting<T>(string)
Declaration
Setting<T> GetSetting<T>(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
Type Parameters
GetSetting<T>(string, out Setting<T>)
Declaration
bool GetSetting<T>(string settingId, out Setting<T> setting)
Parameters
Returns
Type Parameters
GetSetting<T>(string, T)
Declaration
Setting<T> GetSetting<T>(string settingId, T defaultValue)
Parameters
Type |
Name |
Description |
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 |
string |
settingId |
|
T |
value |
|
Returns
Type Parameters
ImportSettings(ISettingsGroup)
Declaration
void ImportSettings(ISettingsGroup otherGroup)
Parameters
RemoveSetting(string)
Declaration
bool RemoveSetting(string settingId)
Parameters
Type |
Name |
Description |
string |
settingId |
|
Returns
Reset()
Declaration
ResumeEvents()
Declaration
SuspendEvents()
Declaration
Events
SettingsChanged
Declaration
event EventHandler<SettingsChangedEventArgs> SettingsChanged
Event Type