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.2.419.0 (24.2.419.0)
Syntax public void AddMergingData(
TimeIntervalCollection<T> items,
MergeTimeIntervalDataCallback<T> mergeCallback
)
Public Sub AddMergingData (
items As TimeIntervalCollection(Of T),
mergeCallback As MergeTimeIntervalDataCallback(Of T)
)
public:
void AddMergingData(
TimeIntervalCollection<T>^ items,
MergeTimeIntervalDataCallback<T>^ mergeCallback
)
member AddMergingData :
items : TimeIntervalCollection<'T> *
mergeCallback : MergeTimeIntervalDataCallback<'T> -> unit
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