DisposableSetT Constructor (IEnumerableT, IEqualityComparerT) |
Creates a new instance using the specified comparer by copying the sequence items.
Namespace:
Gile.AutoCAD.R20.Extension
Assembly:
Gile.AutoCAD.R20.Extension (in Gile.AutoCAD.R20.Extension.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic DisposableSet(
IEnumerable<T> collection,
IEqualityComparer<T> comparer
)
Public Sub New (
collection As IEnumerable(Of T),
comparer As IEqualityComparer(Of T)
)
public:
DisposableSet(
IEnumerable<T>^ collection,
IEqualityComparer<T>^ comparer
)
new :
collection : IEnumerable<'T> *
comparer : IEqualityComparer<'T> -> DisposableSet
Parameters
- collection
- Type: System.Collections.GenericIEnumerableT
Sequence whose elements are copied into the new set. - comparer
- Type: System.Collections.GenericIEqualityComparerT
IEqualityComparer<T> implementation.
See Also