Click or drag to resize

FileBackedHashSetT(String, IEqualityComparerT) Constructor

Creates a new instance of the FileBackedHashSetT class.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntax
public FileBackedHashSet(
	string filePath,
	IEqualityComparer<T> comparer
)
View Source

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
ExceptionCondition
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