Class SerializableDictionary<TKey, TValue>
The implementation for a serializable dictionary class.
Inheritance
System.Object
System.Collections.Generic.Dictionary<TKey, TValue>
SerializableDictionary<TKey, TValue>
Implements
System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable
Inherited Members
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.get_Item(System.Object)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
System.Collections.Generic.Dictionary<TKey, TValue>.Add(TKey, TValue)
System.Collections.Generic.Dictionary<TKey, TValue>.Clear()
System.Collections.Generic.Dictionary<TKey, TValue>.ContainsKey(TKey)
System.Collections.Generic.Dictionary<TKey, TValue>.ContainsValue(TValue)
System.Collections.Generic.Dictionary<TKey, TValue>.EnsureCapacity(System.Int32)
System.Collections.Generic.Dictionary<TKey, TValue>.GetEnumerator()
System.Collections.Generic.Dictionary<TKey, TValue>.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.Dictionary<TKey, TValue>.OnDeserialization(System.Object)
System.Collections.Generic.Dictionary<TKey, TValue>.Remove(TKey)
System.Collections.Generic.Dictionary<TKey, TValue>.Remove(TKey, TValue)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.Add(System.Collections.Generic.KeyValuePair<TKey, TValue>)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.Contains(System.Collections.Generic.KeyValuePair<TKey, TValue>)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.CopyTo(System.Collections.Generic.KeyValuePair<TKey, TValue>[], System.Int32)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.Remove(System.Collections.Generic.KeyValuePair<TKey, TValue>)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>>.GetEnumerator()
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.Add(System.Object, System.Object)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.Contains(System.Object)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.GetEnumerator()
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.Remove(System.Object)
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.Dictionary<TKey, TValue>.TrimExcess()
System.Collections.Generic.Dictionary<TKey, TValue>.TrimExcess(System.Int32)
System.Collections.Generic.Dictionary<TKey, TValue>.TryAdd(TKey, TValue)
System.Collections.Generic.Dictionary<TKey, TValue>.TryGetValue(TKey, TValue)
System.Collections.Generic.Dictionary<TKey, TValue>.Comparer
System.Collections.Generic.Dictionary<TKey, TValue>.Count
System.Collections.Generic.Dictionary<TKey, TValue>.Item[TKey]
System.Collections.Generic.Dictionary<TKey, TValue>.Keys
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>.IsReadOnly
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.IDictionary<TKey, TValue>.Keys
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.IDictionary<TKey, TValue>.Values
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>.Keys
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>.Values
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.IsFixedSize
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.IsReadOnly
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.Item[System.Object]
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.Keys
System.Collections.Generic.Dictionary<TKey, TValue>.System.Collections.IDictionary.Values
System.Collections.Generic.Dictionary<TKey, TValue>.Values
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Phoenix.Abstractions.Settings.dll
Syntax
[Serializable]
public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, IXmlSerializable
Type Parameters
Name |
Description |
TKey |
The type of the keys in the dictionary
|
TValue |
The type of the values in the dictionary
|
Constructors
View Source
SerializableDictionary()
Declaration
public SerializableDictionary()
View Source
SerializableDictionary(SerializationInfo, StreamingContext)
Declaration
protected SerializableDictionary(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
Type |
Name |
Description |
System.Runtime.Serialization.SerializationInfo |
serializationInfo |
The object that holds the serialized data.
|
System.Runtime.Serialization.StreamingContext |
streamingContext |
The object that contains contextual information about the serialization source or destination.
|
Methods
View Source
GetSchema()
Declaration
public XmlSchema GetSchema()
Returns
Type |
Description |
System.Xml.Schema.XmlSchema |
null to represent no schema
|
View Source
ReadXml(XmlReader)
Generates an object from its XML representation.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type |
Name |
Description |
System.Xml.XmlReader |
reader |
The System.Xml.XmlReader stream from which the object is deserialized.
|
View Source
WriteXml(XmlWriter)
Converts an object into its XML representation.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type |
Name |
Description |
System.Xml.XmlWriter |
writer |
The System.Xml.XmlWriter stream to which the object is serialized.
|
Implements
System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable