-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_Mapping_MappingSchema_SetConverter__2
andrewvk edited this page Jun 23, 2016
·
5 revisions
Adds a function expression that converts a value of type fromType to toType.
Namespace: CodeJam.Mapping
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.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.