Table of Contents

Interface IReadOnlyDictList<K, T>

Namespace
Tlabs.Misc
Assembly
Tlabs.Core.dll

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

K
T
Inherited Members
Extension Methods

Properties

Count

Count of all values (of all enumerations).

int Count { get; }

Property Value

int

IsReadOnly

bool IsReadOnly { get; }

Property Value

bool

this[K]

The list (enumation) associated with key.

IEnumerable<T> this[K key] { get; }

Parameters

key K

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

item T

Returns

bool

ContainsKey(K)

Checks whether key is assocoated with an enumerable.

bool ContainsKey(K key)

Parameters

key K

Returns

bool

TryGetValue(K, out IEnumerable<T>)

Try get value by key.

bool TryGetValue(K key, out IEnumerable<T> value)

Parameters

key K
value IEnumerable<T>

Returns

bool