Class SettingsGroup
Inheritance
SettingsGroup
Namespace: SdlSdl.CoreSettings
Assembly: Sdl.Core.Settings.dll
Syntax
public abstract class SettingsGroup : AbstractSettingsGroupBase, ISettingsGroup, INotifyPropertyChanged, IEditableObject
Constructors
SettingsGroup()
Declaration
protected SettingsGroup()
Properties
Id
Declaration
public override string Id { get; set; }
Property Value
Overrides
Parent
Declaration
public override ISettingsGroup Parent { get; }
Property Value
Overrides
SettingsBundle
Declaration
public override ISettingsBundle SettingsBundle { get; set; }
Property Value
Overrides
Methods
BeginEdit()
Declaration
public override void BeginEdit()
Overrides
CancelEdit()
Declaration
public override void CancelEdit()
Overrides
CollectSettings(ISettingsGroup, List<string>)
Declaration
protected override void CollectSettings(ISettingsGroup settingsGroup, List<string> keys)
Parameters
Overrides
ContainsSetting(string)
Declaration
public override bool ContainsSetting(string settingId)
Parameters
Type |
Name |
Description |
string |
settingId |
|
Returns
Overrides
EndEdit()
Declaration
public override void EndEdit()
Overrides
GetDefaultValue(string)
Declaration
protected virtual object GetDefaultValue(string settingId)
Parameters
Type |
Name |
Description |
string |
settingId |
|
Returns
GetSettingIds()
Declaration
public override IEnumerable<string> GetSettingIds()
Returns
Overrides
GetSetting<T>(string)
Declaration
public override Setting<T> GetSetting<T>(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
Type Parameters
Overrides
GetSetting<T>(string, out Setting<T>)
Declaration
public override bool GetSetting<T>(string settingId, out Setting<T> setting)
Parameters
Returns
Type Parameters
Overrides
GetSetting<T>(string, T)
Declaration
public override Setting<T> GetSetting<T>(string settingId, T defaultValue)
Parameters
Type |
Name |
Description |
string |
settingId |
|
T |
defaultValue |
|
Returns
Type Parameters
Overrides
GetSetting<T>(string, out T)
Declaration
public override bool GetSetting<T>(string settingId, out T value)
Parameters
Type |
Name |
Description |
string |
settingId |
|
T |
value |
|
Returns
Type Parameters
Overrides
ImportSettings(ISettingsGroup)
Declaration
public override void ImportSettings(ISettingsGroup otherGroup)
Parameters
Overrides
OnInit(ISettingsBundle)
Declaration
protected virtual void OnInit(ISettingsBundle settingsBundle)
Parameters
RemoveSetting(string)
Declaration
public override bool RemoveSetting(string settingId)
Parameters
Type |
Name |
Description |
string |
settingId |
|
Returns
Overrides
Reset()
Declaration
public override void Reset()
Overrides
parent_PropertyChanged(object, PropertyChangedEventArgs)
Declaration
protected override void parent_PropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
Overrides
parent_SettingsChanged(object, SettingsChangedEventArgs)
Declaration
protected override void parent_SettingsChanged(object sender, SettingsChangedEventArgs e)
Parameters
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Implements