Table of Contents

Class ConcurrentDictionaryExtensions

Namespace
Steeltoe.Common
Assembly
Steeltoe.Common.dll
public static class ConcurrentDictionaryExtensions
Inheritance
ConcurrentDictionaryExtensions
Inherited Members

Methods

GetOrAddEx<K, V>(ConcurrentDictionary<K, V>, K, Func<K, V>)

public static V GetOrAddEx<K, V>(this ConcurrentDictionary<K, V> dict, K key, Func<K, V> factory)

Parameters

dict ConcurrentDictionary<K, V>
key K
factory Func<K, V>

Returns

V

Type Parameters

K
V