FileBackedHashSetT(String, 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.138 -- Release Build+f13f8f80c1917f967d82dedfdc2c53029991e99f
public FileBackedHashSet(
	string filePath,
	IEnumerable<T> enumerable,
	IEqualityComparer<T>? comparer
)

Parameters

filePath  String
The path to the file used to store the lookup table.
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

ArgumentExceptionfilePath is a zero-length string, contains only white space, or contains one or more invalid characters as defined by GetInvalidPathChars.
ArgumentNullExceptionfilePath is null or enumerable is null.
InvalidOperationExceptionT cannot be serialized.

See Also