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
)
Public Function GetConversionCallback (
from As TFormatType,
to As TFormatType
) As FormatConversionCallback(Of T, TFormatType)
public:
FormatConversionCallback<T, TFormatType>^ GetConversionCallback(
TFormatType from,
TFormatType to
)
member GetConversionCallback :
from : 'TFormatType *
to : 'TFormatType -> FormatConversionCallback<'T, 'TFormatType>
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