Click or drag to resize

FileBackedHashSet<T> (String, 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.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntax
public FileBackedHashSet(
	string filePath,
	IEnumerable<T> enumerable,
	IEqualityComparer<T> comparer
)
View Source

Parameters

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