Click or drag to resize

FileBackedHashSetT(IEnumerableT, IEqualityComparerT) Constructor

Creates a new instance of the FileBackedHashSetT class.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public FileBackedHashSet(
	IEnumerable<T> enumerable,
	IEqualityComparer<T> comparer
)
View Source

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
ExceptionCondition
ArgumentNullExceptionenumerable is null.
InvalidOperationExceptionT cannot be serialized.
See Also