-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Mapping_MapperBuilder_2
Andrew Koryavchenko edited this page Jun 17, 2018
·
6 revisions
Builds a mapper that maps an object of TFrom type to an object of TTo type.
System.Object
CodeJam.Mapping.MapperBuilder(TFrom, TTo)
Namespace: CodeJam.Mapping
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0
C#
public class MapperBuilder<TFrom, TTo> : IMapperBuilder
VB
Public Class MapperBuilder(Of TFrom, TTo)
Implements IMapperBuilder
F#
type MapperBuilder<'TFrom, 'TTo> =
class
interface IMapperBuilder
end
- TFrom
- Type to map from.
- TTo
- Type to map to.
Name | Description | |
---|---|---|
MapperBuilder(TFrom, TTo) | Initializes a new instance of the MapperBuilder(TFrom, TTo) class |
Name | Description | |
---|---|---|
DeepCopy | If true, performs deep copy. if default (null), the GetMapperExpressionEx() method does not do deep copy, however the GetMapperExpression() method does. | |
FromMappingDictionary | Defines member name mapping for source types. | |
FromType | Type to map from. | |
MappingSchema | Mapping schema. | |
MemberFilter | Filters target members to map. | |
MemberMappers | Member mappers. | |
ProcessCrossReferences | If true, processes object cross references. if default (null), the GetMapperExpressionEx() method does not process cross references, however the GetMapperExpression() method does. | |
ToMappingDictionary | Defines member name mapping for destination types. | |
ToType | Type to map to. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromMapping(IReadOnlyDictionary(String, String)) | Defines member name mapping for source types. | |
FromMapping(String, String) | Defines member name mapping for source types. | |
FromMapping(Type, IReadOnlyDictionary(String, String)) | Defines member name mapping for source types. | |
FromMapping(Type, String, String) | Defines member name mapping for source types. | |
FromMapping(T)(IReadOnlyDictionary(String, String)) | Defines member name mapping for source types. | |
FromMapping(T)(String, String) | Defines member name mapping for source types. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMapper | Returns a mapper to map an object of TFrom type to an object of TTo type. | |
GetMapperExpression | Returns a mapper expression to map an object of TFrom type to an object of TTo type. | |
GetMapperExpressionEx | Returns a mapper expression to map an object of TFrom type to an object of TTo type. Returned expression is compatible to IQueriable. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MapMember(T) | Adds member mapper. | |
Mapping(IReadOnlyDictionary(String, String)) | Defines member name mapping for source and destination types. | |
Mapping(String, String) | Defines member name mapping for source and destination types. | |
Mapping(Type, IReadOnlyDictionary(String, String)) | Defines member name mapping for source and destination types. | |
Mapping(Type, String, String) | Defines member name mapping for source and destination types. | |
Mapping(T)(IReadOnlyDictionary(String, String)) | Defines member name mapping for source and destination types. | |
Mapping(T)(String, String) | Defines member name mapping for source and destination types. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetDeepCopy | If true, performs deep copy. | |
SetMappingSchema | Sets mapping schema. | |
SetMemberFilter | Adds a predicate to filter target members to map. | |
SetProcessCrossReferences | If true, processes object cross references. | |
ToMapping(IReadOnlyDictionary(String, String)) | Defines member name mapping for destination types. | |
ToMapping(String, String) | Defines member name mapping for destination types. | |
ToMapping(Type, IReadOnlyDictionary(String, String)) | Defines member name mapping for destination types. | |
ToMapping(Type, String, String) | Defines member name mapping for destination types. | |
ToMapping(T)(IReadOnlyDictionary(String, String)) | Defines member name mapping for destination types. | |
ToMapping(T)(String, String) | Defines member name mapping for destination types. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |