Click or drag to resize

RankedMapTKey, TValue Constructor (ICollectionKeyValuePairTKey, TValue)

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

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public RankedMap(
	ICollection<KeyValuePair<TKey, TValue>> map
)

Parameters

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