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: 24.3.420.0 (24.3.420.0)
Syntax public TimeIntervalCollection<TNew> ConvertData<TNew>(
Converter<T, TNew> conversion
)
Public Function ConvertData(Of TNew) (
conversion As Converter(Of T, TNew)
) As TimeIntervalCollection(Of TNew)
public:
generic<typename TNew>
TimeIntervalCollection<TNew>^ ConvertData(
Converter<T, TNew>^ conversion
)
member ConvertData :
conversion : Converter<'T, 'TNew> -> TimeIntervalCollection<'TNew>
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:
TimeIntervalCollectionTNewThe resulting intervals, identical to these intervals except with new data.
See Also