Class JsonSettingsGroup
Inheritance
JsonSettingsGroup
Assembly: Sdl.Core.Settings.dll
Syntax
public class JsonSettingsGroup : AbstractSettingsGroupBase, ISettingsGroup, INotifyPropertyChanged, IEditableObject, ICloneable
Constructors
JsonSettingsGroup()
Declaration
public JsonSettingsGroup()
JsonSettingsGroup(JsonSettingsGroup)
Declaration
public JsonSettingsGroup(JsonSettingsGroup other)
Parameters
Properties
Id
Declaration
public override string Id { get; set; }
Property Value
Overrides
Parent
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public override ISettingsGroup Parent { get; }
Property Value
Overrides
SettingsBundle
Declaration
[JsonIgnore]
public override ISettingsBundle SettingsBundle { get; set; }
Property Value
Overrides
Methods
BeginEdit()
Declaration
public override void BeginEdit()
Overrides
CancelEdit()
Declaration
public override void CancelEdit()
Overrides
Clone()
Declaration
Returns
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
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
Implements