Table of Contents

Interface IReadOnlyMultiValueDictionary<TKey, TValue, TCollection>

Namespace
Core.Collections
Assembly
Core.dll
public interface IReadOnlyMultiValueDictionary<TKey, TValue, TCollection> where TCollection : IReadOnlyCollection<TValue>

Type Parameters

TKey
TValue
TCollection
Extension Methods

Properties

KeyCount

int KeyCount { get; }

Property Value

int

Keys

ICollection<TKey> Keys { get; }

Property Value

ICollection<TKey>

Methods

AllValues()

IEnumerable<TValue> AllValues()

Returns

IEnumerable<TValue>

ContainsKey(TKey)

bool ContainsKey(TKey key)

Parameters

key TKey

Returns

bool

ContainsValue(TKey, TValue)

bool ContainsValue(TKey key, TValue value)

Parameters

key TKey
value TValue

Returns

bool

TryGetExistingValue(TKey, TValue, out TValue)

bool TryGetExistingValue(TKey key, TValue value, out TValue existingValue)

Parameters

key TKey
value TValue
existingValue TValue

Returns

bool

TryGetValuesForKey(TKey, out TCollection)

bool TryGetValuesForKey(TKey key, out TCollection values)

Parameters

key TKey
values TCollection

Returns

bool

ValueCount()

int ValueCount()

Returns

int