Click or drag to resize

PairDictionaryFromKVArrayT1, T2 Method (IDictionaryT1, T2, KeyValuePairT1, T2)

Populate (empty) dictionary with values from array of key-value pairs.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static void DictionaryFromKVArray<T1, T2>(
	IDictionary<T1, T2> dict,
	KeyValuePair<T1, T2>[] arr
)

Parameters

dict
Type: System.Collections.GenericIDictionaryT1, T2

[Missing <param name="dict"/> documentation for "M:DHI.Mike1D.Generic.Pair.DictionaryFromKVArray``2(System.Collections.Generic.IDictionary{``0,``1},System.Collections.Generic.KeyValuePair{``0,``1}[])"]

arr
Type: System.Collections.GenericKeyValuePairT1, T2

[Missing <param name="arr"/> documentation for "M:DHI.Mike1D.Generic.Pair.DictionaryFromKVArray``2(System.Collections.Generic.IDictionary{``0,``1},System.Collections.Generic.KeyValuePair{``0,``1}[])"]

Type Parameters

T1

[Missing <typeparam name="T1"/> documentation for "M:DHI.Mike1D.Generic.Pair.DictionaryFromKVArray``2(System.Collections.Generic.IDictionary{``0,``1},System.Collections.Generic.KeyValuePair{``0,``1}[])"]

T2

[Missing <typeparam name="T2"/> documentation for "M:DHI.Mike1D.Generic.Pair.DictionaryFromKVArray``2(System.Collections.Generic.IDictionary{``0,``1},System.Collections.Generic.KeyValuePair{``0,``1}[])"]

See Also