Class ConcurrentDictionaryExtensions
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
Kfactory
Func<K, V>
Returns
- V
Type Parameters
K
V