Click or drag to resize

VelocityDbHashSetT Constructor (IEnumerableT, IEqualityComparerT)

Implementation Notes: Since resizes are relatively expensive (require rehashing), this attempts to minimize the need to resize by setting the initial capacity based on size of collection.

Namespace:  VelocityDb.Collection
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public VelocityDbHashSet(
	IEnumerable<T> collection,
	IEqualityComparer<T> comparer
)

Parameters

collection
Type: System.Collections.GenericIEnumerableT

[Missing <param name="collection"/> documentation for "M:VelocityDb.Collection.VelocityDbHashSet`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})"]

comparer
Type: System.Collections.GenericIEqualityComparerT

[Missing <param name="comparer"/> documentation for "M:VelocityDb.Collection.VelocityDbHashSet`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})"]

See Also