ConcurrentHashSetT(IEnumerableT, IEqualityComparerT) - конструктор
Initializes a new instance of the
ConcurrentHashSetT
class that contains elements copied from the specified
IEnumerable, has the default concurrency level, has the default
initial capacity, and uses the specified
IEqualityComparerT.
Пространство имён: Tessa.Platform.CollectionsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ConcurrentHashSet(
IEnumerable<T> collection,
IEqualityComparer<T>? comparer
)
Public Sub New (
collection As IEnumerable(Of T),
comparer As IEqualityComparer(Of T)
)
public:
ConcurrentHashSet(
IEnumerable<T>^ collection,
IEqualityComparer<T>^ comparer
)
new :
collection : IEnumerable<'T> *
comparer : IEqualityComparer<'T> -> ConcurrentHashSet
Параметры
- collection IEnumerableT
- The IEnumerableT whose elements are copied to
the new
ConcurrentHashSetT.
- comparer IEqualityComparerT
- The IEqualityComparerT
implementation to use when comparing items.
ArgumentNullException | collection is a null reference
(Nothing in Visual Basic).
|