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