ValueConverterTInput, TOutput Constructor |
Initializes a new instance of the ValueConverter class.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public ValueConverter(
Func<TInput, TOutput> convertForward,
Func<TOutput, TInput> convertBackward
)
Public Sub New (
convertForward As Func(Of TInput, TOutput),
convertBackward As Func(Of TOutput, TInput)
)
public:
ValueConverter(
Func<TInput, TOutput>^ convertForward,
Func<TOutput, TInput>^ convertBackward
)
new :
convertForward : Func<'TInput, 'TOutput> *
convertBackward : Func<'TOutput, 'TInput> -> ValueConverter
Parameters
- convertForward
- Type: SystemFuncTInput, TOutput
A function used to a matrix's non-missing values from one type to another. - convertBackward
- Type: SystemFuncTOutput, TInput
The perfect inverse of ConvertForward
See Also