MultiDictionary<TKey1, TKey2, TValue> Class
Namespace: PTS.Collections
Assembly: PTS.Collections.dll
Syntax
public class MultiDictionary<TKey1, TKey2, TValue> : Dictionary<TKey1, Dictionary<TKey2, TValue>>, IDictionary<TKey1, Dictionary<TKey2, TValue>>, ICollection<KeyValuePair<TKey1, Dictionary<TKey2, TValue>>>, IReadOnlyDictionary<TKey1, Dictionary<TKey2, TValue>>, IReadOnlyCollection<KeyValuePair<TKey1, Dictionary<TKey2, TValue>>>, IEnumerable<KeyValuePair<TKey1, Dictionary<TKey2, TValue>>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable
Type Parameters
Name | Description |
---|---|
TKey1 | |
TKey2 | |
TValue |
Inheritance
System.Object
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>
MultiDictionary<TKey1, TKey2, TValue>
Implements
System.Collections.Generic.IDictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>>
System.Collections.Generic.IReadOnlyDictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>
System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable
Constructors
MultiDictionary()
Declaration
public MultiDictionary()
Methods
Add(TKey1, TKey2, TValue)
Declaration
public void Add(TKey1 key1, TKey2 key2, TValue value)
Parameters
Type | Name | Description |
---|---|---|
TKey1 | key1 | |
TKey2 | key2 | |
TValue | value |
ContainsKey(TKey1, TKey2)
Declaration
public bool ContainsKey(TKey1 key1, TKey2 key2)
Parameters
Type | Name | Description |
---|---|---|
TKey1 | key1 | |
TKey2 | key2 |
Returns
Type | Description |
---|---|
System.Boolean |
GetValue(TKey1)
Declaration
public Dictionary<TKey2, TValue> GetValue(TKey1 key1)
Parameters
Type | Name | Description |
---|---|---|
TKey1 | key1 |
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<TKey2, TValue> |
GetValue(TKey1, TKey2)
Declaration
public TValue GetValue(TKey1 key1, TKey2 key2)
Parameters
Type | Name | Description |
---|---|---|
TKey1 | key1 | |
TKey2 | key2 |
Returns
Type | Description |
---|---|
TValue |
GetValues(TKey1)
Declaration
public List<TValue> GetValues(TKey1 key)
Parameters
Type | Name | Description |
---|---|---|
TKey1 | key |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<TValue> |
Remove(TKey1, TKey2)
Declaration
public void Remove(TKey1 key1, TKey2 key2)
Parameters
Type | Name | Description |
---|---|---|
TKey1 | key1 | |
TKey2 | key2 |
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
Inherited Members
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.get_Item(System.Object)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Add(TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Clear()
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.ContainsKey(TKey1)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.ContainsValue(System.Collections.Generic.Dictionary<TKey2, TValue>)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.EnsureCapacity(System.Int32)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.GetEnumerator()
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.OnDeserialization(System.Object)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Remove(TKey1)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Remove(TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>>.Add(System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>>.Contains(System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>>.CopyTo(System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>[], System.Int32)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>>.Remove(System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>>.GetEnumerator()
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.Add(System.Object, System.Object)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.Contains(System.Object)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.GetEnumerator()
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.Remove(System.Object)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.TrimExcess()
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.TrimExcess(System.Int32)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.TryAdd(TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.TryGetValue(TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>)
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Comparer
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Count
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Item[TKey1]
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Keys
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>>.IsReadOnly
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.IDictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Keys
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.IDictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Values
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.IReadOnlyDictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Keys
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.Generic.IReadOnlyDictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.Values
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.IsFixedSize
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.IsReadOnly
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.Item[System.Object]
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.Keys
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, TValue>>.System.Collections.IDictionary.Values
System.Collections.Generic.Dictionary<TKey1, System.Collections.Generic.Dictionary<TKey2, 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()