Click or drag to resize

MergeableDictionary<TKey, TValue> Class

Specialized Hashtable which allows merging with a passed-in hashtable.
Inheritance Hierarchy
System.Object
  System.Collections.Generic.Dictionary<TKey, TValue>
    SD.LLBLGen.Pro.ORMSupportClasses.MergeableDictionary<TKey, TValue>

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public class MergeableDictionary<TKey, TValue> : Dictionary<TKey, TValue>

Type Parameters

TKey
TValue

The MergeableDictionary<TKey, TValue> type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyComparer (Inherited from Dictionary<TKey, TValue>.)
Public propertyCount (Inherited from Dictionary<TKey, TValue>.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from Dictionary<TKey, TValue>.)
Public propertyKeys (Inherited from Dictionary<TKey, TValue>.)
Public propertyValues (Inherited from Dictionary<TKey, TValue>.)
Top
Methods
  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
(Inherited from Dictionary<TKey, TValue>.)
Public methodClear (Inherited from Dictionary<TKey, TValue>.)
Public methodContainsKey (Inherited from Dictionary<TKey, TValue>.)
Public methodContainsValue (Inherited from Dictionary<TKey, TValue>.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from Dictionary<TKey, TValue>.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData (Inherited from Dictionary<TKey, TValue>.)
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 methodMergeDictionary
Merges the hashtable passed in with this MergeableHashtable. All keys in toMerge which are already in this MergeableHashtable are skipped.
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from Dictionary<TKey, TValue>.)
Public methodRemove (Inherited from Dictionary<TKey, TValue>.)
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 Dictionary<TKey, TValue>.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollection<KeyValuePair<TKey, TValue>>.Add (Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodIDictionary.Add
Adds the specified key and value to the dictionary.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodICollection<KeyValuePair<TKey, TValue>>.Contains (Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodIDictionary.Contains
Determines whether the IDictionary contains an element with the specified key.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodICollection<KeyValuePair<TKey, TValue>>.CopyTo (Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodICollection.CopyTo (Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodIEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodIEnumerable.GetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodIDictionary.GetEnumerator (Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyIDictionary.IsFixedSize
Gets a value indicating whether the IDictionary has a fixed size.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyICollection<KeyValuePair<TKey, TValue>>.IsReadOnly
Gets a value indicating whether the dictionary is read-only.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyIDictionary.IsReadOnly
Gets a value indicating whether the IDictionary is read-only.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyICollection.IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyIDictionary.Item
Gets or sets the value with the specified key.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyIDictionary<TKey, TValue>.Keys (Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyIReadOnlyDictionary<TKey, TValue>.Keys (Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyIDictionary.Keys
Gets an ICollection containing the keys of the IDictionary.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodICollection<KeyValuePair<TKey, TValue>>.Remove
Removes a key and value from the dictionary.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate methodIDictionary.Remove
Removes the element with the specified key from the IDictionary.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyICollection.SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyIDictionary<TKey, TValue>.Values (Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyIReadOnlyDictionary<TKey, TValue>.Values (Inherited from Dictionary<TKey, TValue>.)
Explicit interface implementationPrivate propertyIDictionary.Values
Gets an ICollection containing the values in the IDictionary.
(Inherited from Dictionary<TKey, TValue>.)
Top
See Also