Click or drag to resize
OrderedMultiDictionaryTKey, TValue Constructor (Boolean, ComparisonTKey, ComparisonTValue)
Create a new OrderedMultiDictionary. If duplicate values are allowed, multiple copies of the same value can be associated with the same key. For example, the key "foo" could have "a", "a", and "b" associated with it. If duplicate values are not allowed, only one copies of a given value can be associated with the same key, although different keys can have the same value. For example, the key "foo" could have "a" and "b" associated with it, which key "bar" has values "b" and "c" associated with it.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public OrderedMultiDictionary(
	bool allowDuplicateValues,
	Comparison<TKey> keyComparison,
	Comparison<TValue> valueComparison
)

Parameters

allowDuplicateValues
Type: SystemBoolean
Can the same value be associated with a key multiple times?
keyComparison
Type: SystemComparisonTKey
A delegate to a method that will be used to compare keys.
valueComparison
Type: SystemComparisonTValue
A delegate to a method that will be used to compare values.
See Also