-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Mapping_MappingSchema_SetConverter__2
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Adds a function expression that converts a value of type fromType to toType.
Namespace: CodeJam.Mapping
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0
C#
public void SetConverter<TFrom, TTo>(
Func<TFrom, TTo> func
)
VB
Public Sub SetConverter(Of TFrom, TTo) (
func As Func(Of TFrom, TTo)
)
F#
member SetConverter :
func : Func<'TFrom, 'TTo> -> unit
- func
- Type: System.Func(TFrom, TTo)
Convert function.
- TFrom
- Type to convert from.
- TTo
- Type to convert to.