Skip to content

IDictionaryEx ​

Kind: Static class

Namespace: CrowdControl.Common

Public Static Functions

void

AddRange<TKey, TValue>(IDictionary dictionary, IEnumerable> collection)

TValue

GetOrAdd<TKey, TValue>(IDictionary dictionary, TKey key, TValue value)

TValue

GetOrAdd<TKey, TValue>(IDictionary dictionary, TKey key, Func valueFactory)

TValue

GetOrAdd<TKey, TValue>(IDictionary dictionary, TKey key, Func valueFactory)

bool

TryGetValue<TKey, TChild, Parent>(IDictionary dictionary, TKey key, TChild out value)

IEnumerable

ValuesWithout<TKey, TValue>(IDictionary dictionary, TKey key)

bool

TryRemove<TKey, TValue>(IDictionary dictionary, TValue value)

bool

TryGetKey<TKey, TValue>(IDictionary dictionary, TValue value, TKey out key)

Dictionary

CastValues<TKey, TSource, TTarget>(IDictionary source)