Click or drag to resize
OrderedBagTAddMany Method
Adds all the items in collection to the bag.

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 bag.
Exceptions
ExceptionCondition
ArgumentNullExceptioncollection is null.
Remarks

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

See Also