Skip to content

M_CodeJam_Mapping_Mapper_2_Map_2

andrewvk edited this page Jul 1, 2016 · 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 (in CodeJam.dll) Version: 1.1.0.0 (1.1.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