Interface IReadOnlyDictList<K, T>
Read-only dictionary of IEnumerable<T> of key type K.
public interface IReadOnlyDictList<K, T> : IEnumerable<KeyValuePair<K, IEnumerable<T>>>, IEnumerable where K : notnull
Type Parameters
KT
- Inherited Members
- Extension Methods
Properties
Count
Count of all values (of all enumerations).
int Count { get; }
Property Value
IsReadOnly
bool IsReadOnly { get; }
Property Value
this[K]
The list (enumation) associated with key.
IEnumerable<T> this[K key] { get; }
Parameters
keyK
Property Value
- IEnumerable<T>
Keys
Read-only collection of keys.
IEnumerable<K> Keys { get; }
Property Value
- IEnumerable<K>
Values
Read-only collection of all values (of all enumerations).
IEnumerable<T> Values { get; }
Property Value
- IEnumerable<T>
Methods
Contains(T)
Checks whether item is contained in any enumerable.
bool Contains(T item)
Parameters
itemT
Returns
ContainsKey(K)
Checks whether key is assocoated with an enumerable.
bool ContainsKey(K key)
Parameters
keyK
Returns
TryGetValue(K, out IEnumerable<T>)
Try get value by key.
bool TryGetValue(K key, out IEnumerable<T> value)
Parameters
keyKvalueIEnumerable<T>