Click or drag to resize

FormatConversionCallbackT, TFormatType Delegate

A delegate to convert a T from one format to another.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public delegate T FormatConversionCallback<T, TFormatType>(
	T from,
	TFormatType targetFormat
)

Parameters

from
Type: T
The instance of T to convert.
targetFormat
Type: TFormatType
The TFormatType to convert to.

Type Parameters

T
The type of object that this delegate converts the format of.
TFormatType
The class of the format object itself. This can be a base class.

Return Value

Type: T
An instance of T equivalent to from, in the new TFormatTypetargetFormat.
See Also