Click or drag to resize

TimeIntervalCollectionTConvertDataTNew Method

Converts this collection to a different kind of data without changing the intervals.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.3.405.0 (20.3.405.0)
Syntax
public TimeIntervalCollection<TNew> ConvertData<TNew>(
	Converter<T, TNew> conversion
)

Parameters

conversion
Type: SystemConverterT, TNew
The function used to convert from the existing data to the new data.

Type Parameters

TNew
The new type of data.

Return Value

Type: TimeIntervalCollectionTNew
The resulting intervals, identical to these intervals except with new data.
See Also