HashSet Constructor

Initializes a new instance of the hash set.
 

Parameters

equalityComparer

Type: dundas.linq.IEqualityComparer
An equality comparer which provides an equals method for comparing two objects for equality, and a getHashCode method for computing an object's hash code.
Optional: True
capacity

Type: Number
The initial capacity of the hash set.
Optional: True

Examples

The following example initializes a new instance of a HashSet object:

var newObject = new dundas.HashSet();