Click or drag to resize

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
)

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: T
A new instance of data representing the result of combining (merging) the previous data and the newData.
See Also