Interface ISettingsDictionary
A dictionary of settings used for adding configuration aspects to children of containers.
Inherited Members
Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 10.10.4Syntax
public interface ISettingsDictionary : IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
Methods
Add(Setting)
Adds the specified Setting object containing persistance information.
Declaration
void Add(Setting setting)
Parameters
Type | Name | Description |
---|---|---|
Setting | setting | The setting object to add. |
AddSettings(IDictionary<String, Object>, Boolean)
Adds the settings specified in
values
to the settings collection.Declaration
void AddSettings(IDictionary<string, object> values, bool personalizable)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | values | The values. |
System.Boolean | personalizable | if the settings should be personalizable. |
Copy()
Creates a deep copy of the settings dictionary.
Declaration
ISettingsDictionary Copy()
Returns
Type | Description |
---|---|
ISettingsDictionary | The copied dictionary. |
GetPersonalizableSettings()
Gets the settings that are to be persisted to storage.
Declaration
IDictionary<string, object> GetPersonalizableSettings()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | An System.Collections.IDictionary with the settings that can be personalized. |
MergeRange(Setting[])
Merges a range of settings, overwriting current values if existing.
Declaration
void MergeRange(Setting[] settings)
Parameters
Type | Name | Description |
---|---|---|
Setting[] | settings | The settings. |