Dictionary<(Of <(<'TKey1, TKey2, TValue>)>)> Constructor (IDictionary<(Of <(<'ValueTuple<(Of <(<'TKey1, TKey2>)>)>, TValue>)>)>, IEqualityComparer<(Of <(<'ValueTuple<(Of <(<'TKey1, TKey2>)>)>>)>)>)

Initializes a new instance of the Dictionary<(Of <(<'TKey1, TKey2, TValue>)>)> class.

Namespace:  Tortuga.Anchor.Collections
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public Dictionary(
	IDictionary<ValueTuple<TKey1, TKey2>, TValue> dictionary,
	IEqualityComparer<ValueTuple<TKey1, TKey2>> comparer
)
Public Sub New ( _
	dictionary As IDictionary(Of ValueTuple(Of TKey1, TKey2), TValue), _
	comparer As IEqualityComparer(Of ValueTuple(Of TKey1, TKey2)) _
)

Parameters

dictionary
Type: IDictionary<(Of <(<'ValueTuple<(Of <(<'TKey1, TKey2>)>)>, TValue>)>)>
The dictionary to copy.
comparer
Type: IEqualityComparer<(Of <(<'ValueTuple<(Of <(<'TKey1, TKey2>)>)>>)>)>
The comparer.

Exceptions


ExceptionCondition
[ArgumentNullException]