MergeTimeIntervalDataCallbackT Delegate |
A callback defining how two data elements on any two intervals should
be combined when creating a new interval.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public delegate T MergeTimeIntervalDataCallback<T>(
T previous,
T newData
)
Public Delegate Function MergeTimeIntervalDataCallback(Of T) (
previous As T,
newData As T
) As T
generic<typename T>
public delegate T MergeTimeIntervalDataCallback(
T previous,
T newData
)
type MergeTimeIntervalDataCallback =
delegate of
previous : 'T *
newData : 'T -> 'T
Parameters
- previous
- Type: T
The data existing on the original time interval. - newData
- Type: T
The data existing on the new time interval.
Type Parameters
- T
- The type of the data associated with each interval.
Return Value
Type:
TA new instance of data representing the result of combining (merging)
the
previous data and the
newData.
See Also