Extensions.GetOrAdd<K,V> Method

Definition

public static V GetOrAdd<K,V> (this System.Collections.Generic.IDictionary<K,V> valueByKey, K key, Func<K,V> make);
static member GetOrAdd : System.Collections.Generic.IDictionary<'K, 'V> * 'K * Func<'K, 'V> -> 'V
<Extension()>
Public Function GetOrAdd(Of K, V) (valueByKey As IDictionary(Of K, V), key As K, make As Func(Of K, V)) As V

Type Parameters

K
V

Parameters

valueByKey
IDictionary<K,V>
key
K
make
Func<K,V>

Returns

V

Applies to