MaterializerTypeConverter..::..AddConverter<(Of <(<'TIn, TOut>)>)> Method
Adds the converter to by used by materializers.
Namespace:
Tortuga.Chain.MetadataAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public void AddConverter<TIn, TOut>( Func<TIn, TOut> converter )
Public Sub AddConverter(Of TIn, TOut) ( _ converter As Func(Of TIn, TOut) _ )
public: generic<typename TIn, typename TOut> void AddConverter( Func<TIn, TOut>^ converter )
Type Parameters
- TIn
- The original type of the value
- TOut
- The desired type of the value.
Parameters
- converter
- Type: Func<(Of <(<'TIn, TOut>)>)>
The converter function.