Click or drag to resize
Accord.NET (logo)

OrderedDictionaryTKey, TValue Constructor (IDictionaryTKey, TValue, IEqualityComparerTKey)

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public OrderedDictionary(
	IDictionary<TKey, TValue> dictionary,
	IEqualityComparer<TKey> comparer
)
Request Example View Source

Parameters

dictionary
Type: System.Collections.GenericIDictionaryTKey, TValue
The System.Collections.Generic.IDictionary`2 whose elements are copied to the new OrderedDictionaryTKey, TValue.
comparer
Type: System.Collections.GenericIEqualityComparerTKey
The IEqualityComparer implementation to use when comparing keys, or null to use the default EqualityComparer for the type of the key.
See Also