Class ConcurrentDictionaryExtensions
Inheritance
System.Object
ConcurrentDictionaryExtensions
Assembly: Steeltoe.Common.dll
Syntax
public static class ConcurrentDictionaryExtensions : object
Methods
|
Edit this page
View Source
GetOrAddEx<K, V>(ConcurrentDictionary<K, V>, K, Func<K, V>)
Declaration
public static V GetOrAddEx<K, V>(this ConcurrentDictionary<K, V> dict, K key, Func<K, V> factory)
Parameters
Type |
Name |
Description |
ConcurrentDictionary<K, V> |
dict |
|
K |
key |
|
Func<K, V> |
factory |
|
Returns
Type Parameters