Skip to content

M_CodeJam_Mapping_MapperBuilder_2_FromMapping__1_1

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

MapperBuilder(TFrom, TTo).FromMapping(T) Method (String, String)

Defines member name mapping for source types.

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

Syntax

C#

public MapperBuilder<TFrom, TTo> FromMapping<T>(
	string memberName,
	string mapName
)

VB

Public Function FromMapping(Of T) ( 
	memberName As String,
	mapName As String
) As MapperBuilder(Of TFrom, TTo)

F#

member FromMapping : 
        memberName : string * 
        mapName : string -> MapperBuilder<'TFrom, 'TTo> 

Parameters

 

memberName
Type: System.String
Type member name.
mapName
Type: System.String
Mapping name.

Type Parameters

 

T
Type to map.

Return Value

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

See Also

Reference

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

Clone this wiki locally