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.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
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