Sage Modeling and Simulation Library

MultiResourceTracker..::..BulkLoad Method (ICollection, Boolean, IComparer)

Loads a collection of resource event records, and then sorts them using the provided comparer.

Namespace:  Highpoint.Sage.Resources
Assembly:  Sage4 (in Sage4.dll)

Syntax


public void BulkLoad(
	ICollection bulkRecords,
	bool clearAllFirst,
	IComparer sortCriteria
)

Parameters

bulkRecords
Type: ICollection
The collection of resource records to be added to this collection.
clearAllFirst
Type: Boolean
If true, this tracker's ResourceEventRecord internal collection is cleared out before the new records are added.
sortCriteria
Type: IComparer
An IComparer that can compare ResourceEventRecord objects. See ResourceEventRecord.By...() methods.