GetOrAdd<TKey,TValue,TContext>
Summary
public static TValue GetOrAdd<TKey, TValue, TContext>(this ConcurrentDictionary<TKey, TValue> dictionary, TKey key, TContext context, Func<TContext, TKey, TValue> activator)
Returns
Parameters
- ConcurrentDictionary<TKey, TValue> prohibited dictionary
- TKey key
- TContext context
- Func<TContext, TKey, TValue> activator