Click or drag to resize

RankedDictionaryTKey, TValue Constructor (IDictionaryTKey, TValue)

Initializes a new dictionary instance that contains key/value pairs copied from the supplied dictionary and sorted by the default comparer.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public RankedDictionary(
	IDictionary<TKey, TValue> dictionary
)

Parameters

dictionary
Type: System.Collections.GenericIDictionaryTKey, TValue
The dictionary to be copied.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen dictionary is null.
See Also