Skip to content

M_CodeJam_Mapping_MappingSchema_TryGetConvertExpression

andrewvk edited this page Jul 1, 2016 · 5 revisions

MappingSchema.TryGetConvertExpression Method

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

Namespace: CodeJam.Mapping
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

protected virtual LambdaExpression TryGetConvertExpression(
	Type from,
	Type to
)

VB

Protected Overridable Function TryGetConvertExpression ( 
	from As Type,
	to As Type
) As LambdaExpression

F#

abstract TryGetConvertExpression : 
        from : Type * 
        to : Type -> LambdaExpression 
override TryGetConvertExpression : 
        from : Type * 
        to : Type -> LambdaExpression 

Parameters

 

from
Type: System.Type
Type to convert from.
to
Type: System.Type
Type to convert to.

Return Value

Type: LambdaExpression
Convert expression.

See Also

Reference

MappingSchema Class
CodeJam.Mapping Namespace

Clone this wiki locally