Click or drag to resize

SerializableDictionaryTKey, TVal Class

A generic dictionary base class that is serializable.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryTKey, TVal
    NetQuarrySerializableDictionaryTKey, TVal

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[SerializableAttribute]
public class SerializableDictionary<TKey, TVal> : Dictionary<TKey, TVal>, 
	IXmlSerializable, ISerializable

Type Parameters

TKey
The dictionary key type.
TVal
The dictionary value type.

The SerializableDictionaryTKey, TVal type exposes the following members.

Constructors
  NameDescription
Public methodSerializableDictionaryTKey, TVal
Default constructor.
Public methodSerializableDictionaryTKey, TVal(IDictionaryTKey, TVal)
Construct the dictionary from another dictionary of the same type.
Public methodSerializableDictionaryTKey, TVal(IEqualityComparerTKey)
Construct the dictionary with the specified equality comparer.
Public methodSerializableDictionaryTKey, TVal(Int32)
Construct the dictionary with a known initial size.
Public methodSerializableDictionaryTKey, TVal(IDictionaryTKey, TVal, IEqualityComparerTKey)
Construct the dictionary from another dictionary of the same type and using the equality item comparer.
Public methodSerializableDictionaryTKey, TVal(Int32, IEqualityComparerTKey)
Construct the dictionary with a known initial size and using the equality item comparer.
Top
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryTKey, TVal.)
Public propertyCount (Inherited from DictionaryTKey, TVal.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from DictionaryTKey, TVal.)
Public propertyKeys (Inherited from DictionaryTKey, TVal.)
Public propertyValues (Inherited from DictionaryTKey, TVal.)
Top
Methods
  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
(Inherited from DictionaryTKey, TVal.)
Public methodClear (Inherited from DictionaryTKey, TVal.)
Public methodContainsKey (Inherited from DictionaryTKey, TVal.)
Public methodContainsValue (Inherited from DictionaryTKey, TVal.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryTKey, TVal.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryTKey, TVal.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryTKey, TVal.)
Public methodRemove (Inherited from DictionaryTKey, TVal.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryTKey, TVal.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also