Skip to content

T_CodeJam_Mapping_Mapper_2

andrewvk edited this page Jun 23, 2016 · 9 revisions

Mapper(TFrom, TTo) Class

Maps an object of TFrom type to an object of TTo type.

Inheritance Hierarchy

System.Object
  CodeJam.Mapping.Mapper(TFrom, TTo)
Namespace: CodeJam.Mapping
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public class Mapper<TFrom, TTo>

VB

Public Class Mapper(Of TFrom, TTo)

F#

type Mapper<'TFrom, 'TTo> =  class end

Type Parameters

 

TFrom
Type to map from.
TTo
Type to map to.
  The Mapper(TFrom, TTo) type exposes the following members.

Methods

 

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetMapper Returns a mapper to map an object of TFrom type to an object of TTo type.
Public method GetMapperEx Returns a mapper to map an object of TFrom type to an object of TTo type.
Public method GetMapperExpression Returns a mapper expression to map an object of TFrom type to an object of TTo type.
Public method GetMapperExpressionEx Returns a mapper expression to map an object of TFrom type to an object of TTo type. Returned expression is compatible to IQueriable.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Map(TFrom) Returns a mapper to map an object of TFrom type to an object of TTo type.
Public method Map(TFrom, TTo) Returns a mapper to map an object of TFrom type to an object of TTo type.
Public method Map(TFrom, TTo, IDictionary(Object, Object)) Returns a mapper to map an object of TFrom type to an object of TTo type.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

CodeJam.Mapping Namespace

Clone this wiki locally