Class SettingsDictionary
Inheritance
System.Object
SettingsDictionary
Implements
System.Collections.Generic.IDictionary<System.String, System.Object>
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.Object>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class SettingsDictionary : ISettingsDictionary, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
Constructors
SettingsDictionary()
Declaration
public SettingsDictionary()
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item[String]
Declaration
public object this[string key] { get; set; }
Parameters
Type |
Name |
Description |
System.String |
key |
|
Property Value
Type |
Description |
System.Object |
|
Keys
Declaration
public ICollection<string> Keys { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<System.String> |
|
Values
Declaration
public ICollection<object> Values { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<System.Object> |
|
Methods
Add(Setting)
Declaration
public void Add(Setting setting)
Parameters
Type |
Name |
Description |
Setting |
setting |
|
Add(KeyValuePair<String, Object>)
Declaration
public void Add(KeyValuePair<string, object> item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, System.Object> |
item |
|
Add(String, Object)
Declaration
public void Add(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
AddSettings(IDictionary<String, Object>, Boolean)
Declaration
public void AddSettings(IDictionary<string, object> values, bool personalizable)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
values |
|
System.Boolean |
personalizable |
|
Clear()
Declaration
Contains(KeyValuePair<String, Object>)
Declaration
public bool Contains(KeyValuePair<string, object> item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, System.Object> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
ContainsKey(String)
Declaration
public bool ContainsKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
Copy()
Declaration
public ISettingsDictionary Copy()
Returns
CopyTo(KeyValuePair<String, Object>[], Int32)
Declaration
public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, System.Object>[] |
array |
|
System.Int32 |
arrayIndex |
|
GetEnumerator()
Declaration
public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, System.Object>> |
|
GetPersonalizableSettings()
Declaration
public IDictionary<string, object> GetPersonalizableSettings()
Returns
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
MergeRange(Setting[])
Declaration
public void MergeRange(Setting[] settings)
Parameters
Type |
Name |
Description |
Setting[] |
settings |
|
Remove(KeyValuePair<String, Object>)
Declaration
public bool Remove(KeyValuePair<string, object> item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, System.Object> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
Remove(String)
Declaration
public bool Remove(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetValue(String, out Object)
Declaration
public bool TryGetValue(string key, out object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Implements
System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Extension Methods