FileBackedHashSetT(String, 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.184 -- Release Build+4bc431a4a1f12097e2c099460528080844968593
public FileBackedHashSet(
	string filePath,
	IEqualityComparer<T>? comparer
)

Parameters

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

See Also