Partilhar via


Extensions.GetOrAdd<K,V> Método

Definição

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

Parâmetros de Tipo Genérico

K
V

Parâmetros

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

Devoluções

V

Aplica-se a