Click or drag to resize

CondensedCollectionT Constructor (Int32, IEqualityComparerT, PredicateCondensedStats, IEnumerableT)

[This is preliminary documentation and is subject to change.]

Namespace:  Condensed
Assembly:  Condensed (in Condensed.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
public CondensedCollection(
	int capacity = 0,
	IEqualityComparer<T> comparer = null,
	Predicate<CondensedStats> cutoverPredicate = null,
	IEnumerable<T> collection = null
)

Parameters

capacity (Optional)
Type: SystemInt32
The number of elements that the new list can initially store.
comparer (Optional)
Type: System.Collections.GenericIEqualityComparerT
The IEqualityComparerT implementation to use when comparing elements, or null to use the default IEqualityComparerT for the type of the object.
cutoverPredicate (Optional)
Type: SystemPredicateCondensedStats
A callback used to decide when a CondensedCollection should stop attempting to perform deduplication and store values directly. If null or unspecified, the collection will never cutover.
collection (Optional)
Type: System.Collections.GenericIEnumerableT
The collection whose elements are copied to the new CondensedCollectionT, or null to create an empty collection.
See Also