MultiValueDictionaryTKey, TValue Class |
Namespace: SD.Tools.Algorithmia.GeneralDataStructures
[SerializableAttribute] public class MultiValueDictionary<TKey, TValue> : Dictionary<TKey, HashSet<TValue>>
The MultiValueDictionaryTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
MultiValueDictionaryTKey, TValue |
Initializes a new instance of the MultiValueDictionaryTKey, TValue class.
| |
MultiValueDictionaryTKey, TValue(IEqualityComparerTValue) |
Initializes a new instance of the MultiValueDictionaryTKey, TValue class.
| |
MultiValueDictionaryTKey, TValue(SerializationInfo, StreamingContext) |
Initializes a new instance of the MultiValueDictionaryTKey, TValue class.
|
Name | Description | |
---|---|---|
Comparer | (Inherited from DictionaryTKey, HashSetTValue.) | |
Count | (Inherited from DictionaryTKey, HashSetTValue.) | |
Item | (Inherited from DictionaryTKey, HashSetTValue.) | |
Keys | (Inherited from DictionaryTKey, HashSetTValue.) | |
Values | (Inherited from DictionaryTKey, HashSetTValue.) |
Name | Description | |
---|---|---|
Add(TKey, TValue) | (Inherited from DictionaryTKey, HashSetTValue.) | |
Add(TKey, TValue) |
Adds the specified value under the specified key
| |
AddRange |
Adds the range of values under the key specified.
| |
Clear | (Inherited from DictionaryTKey, HashSetTValue.) | |
ContainsKey | (Inherited from DictionaryTKey, HashSetTValue.) | |
ContainsValue(TValue) | (Inherited from DictionaryTKey, HashSetTValue.) | |
ContainsValue(TKey, TValue) |
Determines whether this dictionary contains the specified value for the specified key
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | (Inherited from DictionaryTKey, HashSetTValue.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData |
Gets the object data.
(Overrides DictionaryTKey, TValueGetObjectData(SerializationInfo, StreamingContext).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValues |
Gets the values for the key specified. This method is useful if you want to avoid an exception for key value retrieval and you can't use TryGetValue
(e.g. in lambdas)
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge |
Merges the specified multivaluedictionary into this instance.
| |
OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from DictionaryTKey, HashSetTValue.) | |
Remove(TKey) | (Inherited from DictionaryTKey, HashSetTValue.) | |
Remove(TKey, TValue) |
Removes the specified value for the specified key. It will leave the key in the dictionary.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue | (Inherited from DictionaryTKey, HashSetTValue.) |