Skip to content

M_CodeJam_Mapping_MapperBuilder_2_ToMapping_3

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

MapperBuilder(TFrom, TTo).ToMapping Method (Type, String, String)

Defines member name mapping for destination types.

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

Syntax

C#

public MapperBuilder<TFrom, TTo> ToMapping(
	Type type,
	string memberName,
	string mapName
)

VB

Public Function ToMapping ( 
	type As Type,
	memberName As String,
	mapName As String
) As MapperBuilder(Of TFrom, TTo)

F#

member ToMapping : 
        type : Type * 
        memberName : string * 
        mapName : string -> MapperBuilder<'TFrom, 'TTo> 

Parameters

 

type
Type: System.Type
Type to map.
memberName
Type: System.String
Type member name.
mapName
Type: System.String
Mapping name.

Return Value

Type: MapperBuilder(TFrom, TTo)
Returns this mapper.

See Also

Reference

MapperBuilder(TFrom, TTo) Class
ToMapping Overload
CodeJam.Mapping Namespace

Clone this wiki locally