FileBackedHashSetT, TElem(IEnumerableT, IEqualityComparerT) Constructor

Creates a new instance of the FileBackedHashSetT class.

Definition

Namespace: Gemstone.IO.Collections
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.156 -- Release Build+6a9f88f477f6aa18d5026c0c0fcc061b1aaed2d2
public FileBackedHashSet(
	IEnumerable<T> enumerable,
	IEqualityComparer<T>? comparer
)

Parameters

enumerable  IEnumerableT
The enumerable whose elements are copied to this hash set.
comparer  IEqualityComparerT
The equality comparer used to compare items in the hash set.

Exceptions

ArgumentNullExceptionenumerable is null.
InvalidOperationExceptionT cannot be serialized.

See Also