Click or drag to resize
OrderedSetTAddMany Method
Adds all the items in collection to the set. If the set already contains an item equal to one of the items in collection, that item will be replaced.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public void AddMany(
	IEnumerable<T> collection
)

Parameters

collection
Type: System.Collections.GenericIEnumerableT
A collection of items to add to the set.
Remarks

Equality between items is determined by the comparison instance or delegate used to create the set.

Adding the collection takes time O(M log N), where N is the number of items in the set, and M is the number of items in collection.

See Also