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.1.418.0 (24.1.418.0)
public void AddMergingData(
	TimeIntervalCollection<T> items,
	MergeTimeIntervalDataCallback<T> mergeCallback


Type: AGI.Foundation.TimeTimeIntervalCollectionT
The intervals to add.
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