Click or drag to resize

FileBackedHashSet<T> (IEnumerable<T> , IEqualityComparer<T> ) Constructor

Creates a new instance of the FileBackedHashSet<T> class.

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

Parameters

enumerable  IEnumerable<T>
The enumerable whose elements are copied to this hash set.
comparer  IEqualityComparer<T>
The equality comparer used to compare items in the hash set.
Exceptions
ExceptionCondition
ArgumentNullExceptionenumerable is null.
InvalidOperationExceptionT cannot be serialized.
See Also