Skip to content

M_CodeJam_Mapping_MapperBuilder_2_ToMapping_2

Andrew Koryavchenko edited this page Jul 4, 2017 · 5 revisions

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

Defines member name mapping for destination types.

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

Syntax

C#

public MapperBuilder<TFrom, TTo> ToMapping(
	Type type,
	IReadOnlyDictionary<string, string> mapping
)

VB

Public Function ToMapping ( 
	type As Type,
	mapping As IReadOnlyDictionary(Of String, String)
) As MapperBuilder(Of TFrom, TTo)

F#

member ToMapping : 
        type : Type * 
        mapping : IReadOnlyDictionary<string, string> -> MapperBuilder<'TFrom, 'TTo> 

Parameters

 

type
Type: System.Type
Type to map.
mapping
Type: System.Collections.Generic.IReadOnlyDictionary(String, String)
Mapping parameters.

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