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