Click or drag to resize
MultiValueHashtableTKey, TValue Class
Specialized hashtable which can store multiple values for a given key. All values are stored in an UniqueValueList as value. When the value is requested, the UniqueValueList is returned, not the actual value.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryTKey, UniqueValueListTValue
    SD.LLBLGen.Pro.ORMSupportClassesMultiValueHashtableTKey, TValue

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
[SerializableAttribute]
public class MultiValueHashtable<TKey, TValue> : Dictionary<TKey, UniqueValueList<TValue>>

Type Parameters

TKey
TValue

The MultiValueHashtableTKey, TValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryTKey, UniqueValueListTValue.)
Public propertyCount (Inherited from DictionaryTKey, UniqueValueListTValue.)
Public propertyItem
Gets / sets a value for the given key. Hides original indexer
Public propertyKeys (Inherited from DictionaryTKey, UniqueValueListTValue.)
Public propertyValues (Inherited from DictionaryTKey, UniqueValueListTValue.)
Top
Methods
  NameDescription
Public methodAdd(TKey, TValue) (Inherited from DictionaryTKey, UniqueValueListTValue.)
Public methodAdd(TKey, ICollectionTValue)
Adds the objects as values for the specified key.
Public methodAdd(TKey, TValue)
Adds an element with the specified key and value to the set.
Public methodClear (Inherited from DictionaryTKey, UniqueValueListTValue.)
Public methodContains
Determines whether the multivaluehashtable contains the key, and if so, if the list of values stored under the key contains the value specified.
Public methodContainsKey (Inherited from DictionaryTKey, UniqueValueListTValue.)
Public methodContainsValue (Inherited from DictionaryTKey, UniqueValueListTValue.)
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 DictionaryTKey, UniqueValueListTValue.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryTKey, UniqueValueListTValue.)
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, UniqueValueListTValue.)
Public methodRemove (Inherited from DictionaryTKey, UniqueValueListTValue.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue (Inherited from DictionaryTKey, UniqueValueListTValue.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueAdd (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodIDictionaryAdd (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueContains (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodIDictionaryContains (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueCopyTo (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodICollectionCopyTo (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodIEnumerableKeyValuePairTKey, TValueGetEnumerator (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodIDictionaryGetEnumerator (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyIDictionaryIsFixedSize (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyICollectionKeyValuePairTKey, TValueIsReadOnly (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyIDictionaryIsReadOnly (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyIDictionaryItem (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyIDictionaryTKey, TValueKeys (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyIReadOnlyDictionaryTKey, TValueKeys (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyIDictionaryKeys (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueRemove (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate methodIDictionaryRemove (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyICollectionSyncRoot (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyIDictionaryTKey, TValueValues (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyIReadOnlyDictionaryTKey, TValueValues (Inherited from DictionaryTKey, UniqueValueListTValue.)
Explicit interface implementationPrivate propertyIDictionaryValues (Inherited from DictionaryTKey, UniqueValueListTValue.)
Top
Remarks
Legacy, use MultiValueDictionary instead
See Also