|
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
)
Public Sub New (
dictionary As IDictionary(Of TKey, TValue),
comparer As IEqualityComparer(Of TKey)
)
Request Example
View SourceParameters
- 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