Skip to content

M_CodeJam_Mapping_MappingSchema_GetConvertExpression__2

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

MappingSchema.GetConvertExpression(TFrom, TTo) Method

Returns an expression that converts a value of type TFrom to TTo.

Namespace: CodeJam.Mapping
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0

Syntax

C#

public Expression<Func<TFrom, TTo>> GetConvertExpression<TFrom, TTo>()

VB

Public Function GetConvertExpression(Of TFrom, TTo) As Expression(Of Func(Of TFrom, TTo))

F#

member GetConvertExpression : unit -> Expression<Func<'TFrom, 'TTo>> 

Type Parameters

 

TFrom
Type to convert from.
TTo
Type to convert to.

Return Value

Type: Expression(Func(TFrom, TTo))
Convert expression.

See Also

Reference

MappingSchema Class
GetConvertExpression Overload
CodeJam.Mapping Namespace

Clone this wiki locally