Click or drag to resize
OrderedSetT Constructor (IEnumerableT, ComparisonT)
Creates a new OrderedSet. The passed delegate will be used to compare items in this set. The set is initialized with all the items in the given collection.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public OrderedSet(
	IEnumerable<T> collection,
	Comparison<T> comparison
)

Parameters

collection
Type: System.Collections.GenericIEnumerableT
A collection with items to be placed into the OrderedSet.
comparison
Type: SystemComparisonT
A delegate to a method that will be used to compare items.
See Also