Click or drag to resize

TimeIntervalCollectionTAddMergingData Method (TimeIntervalCollectionT, MergeTimeIntervalDataCallbackT)

Adds a collection of intervals to this interval collection. The callback function specified will determine the instances of data occurring on any intersections by merging the existing Data on the interval in this collection with the Data on the interval to add.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public void AddMergingData(
	TimeIntervalCollection<T> items,
	MergeTimeIntervalDataCallback<T> mergeCallback
)

Parameters

items
Type: AGI.Foundation.TimeTimeIntervalCollectionT
The intervals to add.
mergeCallback
Type: AGI.Foundation.TimeMergeTimeIntervalDataCallbackT
The callback to use to "merge" the data on two intervals that intersect. If , the data from this interval will be used.
See Also