Skip to content

M_CodeJam_Mapping_Mapper_2_Map_2

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

Mapper(TFrom, TTo).Map Method (TFrom, TTo, IDictionary(Object, Object))

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 TTo Map(
	TFrom source,
	TTo destination,
	IDictionary<Object, Object> crossReferenceDictionary
)

VB

Public Function Map ( 
	source As TFrom,
	destination As TTo,
	crossReferenceDictionary As IDictionary(Of Object, Object)
) As TTo

F#

member Map : 
        source : 'TFrom * 
        destination : 'TTo * 
        crossReferenceDictionary : IDictionary<Object, Object> -> 'TTo 

Parameters

 

source
Type: TFrom
Object to map.
destination
Type: TTo
Destination object.
crossReferenceDictionary
Type: System.Collections.Generic.IDictionary(Object, Object)
Storage for cress references if applied.

Return Value

Type: TTo
Destination object.

See Also

Reference

Mapper(TFrom, TTo) Class
Map Overload
CodeJam.Mapping Namespace

Clone this wiki locally