Skip to content

M_CodeJam_Mapping_Map_GetMapper__2_1

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

Map.GetMapper(TFrom, TTo) Method (Func(MapperBuilder(TFrom, TTo), MapperBuilder(TFrom, TTo)))

Returns a mapper to map an object of TFrom type to an object of TTo type.

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

Syntax

C#

public static Mapper<TFrom, TTo> GetMapper<TFrom, TTo>(
	Func<MapperBuilder<TFrom, TTo>, MapperBuilder<TFrom, TTo>> setter
)

VB

Public Shared Function GetMapper(Of TFrom, TTo) ( 
	setter As Func(Of MapperBuilder(Of TFrom, TTo), MapperBuilder(Of TFrom, TTo))
) As Mapper(Of TFrom, TTo)

F#

static member GetMapper : 
        setter : Func<MapperBuilder<'TFrom, 'TTo>, MapperBuilder<'TFrom, 'TTo>> -> Mapper<'TFrom, 'TTo> 

Parameters

 

setter
Type: System.Func(MapperBuilder(TFrom, TTo), MapperBuilder(TFrom, TTo))
MapperBuilder parameter setter.

Type Parameters

 

TFrom
Type to map from.
TTo
Type to map to.

Return Value

Type: Mapper(TFrom, TTo)
Mapping expression.

See Also

Reference

Map Class
GetMapper Overload
CodeJam.Mapping Namespace

Clone this wiki locally