Click or drag to resize
OrderedBagT Constructor (IComparerT)
Creates a new OrderedBag. The Compare method of the passed comparison object will be used to compare items in this bag.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public OrderedBag(
	IComparer<T> comparer
)

Parameters

comparer
Type: System.Collections.GenericIComparerT
An instance of IComparer<T> that will be used to compare items.
Remarks
The GetHashCode and Equals methods of the provided IComparer<T> will never be called, and need not be implemented.
See Also