Click or drag to resize

TimeIntervalCollectionTAddMergingData Method (TimeIntervalT, MergeTimeIntervalDataCallbackT)

Adds an interval to the 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.2.419.0 (24.2.419.0)
Syntax
public void AddMergingData(
	TimeInterval<T> item,
	MergeTimeIntervalDataCallback<T> mergeCallback
)

Parameters

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