Class JsonSettingsBundle
Inheritance
JsonSettingsBundle
Assembly: Sdl.Core.Settings.dll
Syntax
public class JsonSettingsBundle : ISettingsBundle
Constructors
JsonSettingsBundle()
Declaration
public JsonSettingsBundle()
Properties
IsDefault
Declaration
public bool IsDefault { get; }
Property Value
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Parent
Declaration
[JsonIgnore]
public ISettingsBundle Parent { get; set; }
Property Value
Methods
AddSettingsGroup(ISettingsGroup)
Declaration
public bool AddSettingsGroup(ISettingsGroup settingsGroup)
Parameters
Returns
Assign(ISettingsBundle)
Declaration
public void Assign(ISettingsBundle settings)
Parameters
ContainsSettingsGroup(string)
Declaration
public bool ContainsSettingsGroup(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetSettingsGroup(string)
Declaration
public ISettingsGroup GetSettingsGroup(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetSettingsGroupIds()
Declaration
public IEnumerable<string> GetSettingsGroupIds()
Returns
GetSettingsGroup<T>()
Declaration
public T GetSettingsGroup<T>() where T : ISettingsGroup, new()
Returns
Type Parameters
GetSettingsGroup<T>(string)
Declaration
public T GetSettingsGroup<T>(string id) where T : ISettingsGroup, new()
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
Type Parameters
RemoveSettingsGroup(string)
Declaration
public void RemoveSettingsGroup(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Reset()
Declaration
Implements