BagT Constructor (IEqualityComparerT) |
Creates a new Bag. The Equals and GetHashCode methods of the passed comparison object
will be used to compare items in this bag for equality.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic Bag(
IEqualityComparer<T> equalityComparer
)
public:
Bag(
IEqualityComparer<T>^ equalityComparer
)
Parameters
- equalityComparer
- Type: System.Collections.GenericIEqualityComparerT
An instance of IEqualityComparer<T> that will be used to compare items.
See Also