Click or drag to resize

FormatConverterT, TFormatTypeGetConversionCallback Method

Gets the callback that converts from one format to another.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public FormatConversionCallback<T, TFormatType> GetConversionCallback(
	TFormatType from,
	TFormatType to
)

Parameters

from
Type: TFormatType
The source format.
to
Type: TFormatType
The destination format.

Return Value

Type: FormatConversionCallbackT, TFormatType
The callback to convert from from to to, or null if a conversion does not exist.
See Also