C# Class AutoMapper.TypeMap

Datei anzeigen Open project: jbogard/AutoMapper Class Usage Examples

Public Methods

Method Description
AddAfterMapAction ( LambdaExpression afterMap ) : void
AddBeforeMapAction ( LambdaExpression beforeMap ) : void
AddPropertyMap ( IMemberAccessor destProperty, IEnumerable resolvers ) : void
ApplyInheritedMap ( TypeMap inheritedTypeMap ) : void
FindOrCreatePropertyMapFor ( IMemberAccessor destinationProperty ) : PropertyMap
FindOrCreateSourceMemberConfigFor ( MemberInfo sourceMember ) : AutoMapper.SourceMemberConfig
GetDerivedTypeFor ( Type derivedSourceType ) : Type
GetExistingPropertyMapFor ( IMemberAccessor destinationProperty ) : PropertyMap
GetPropertyMaps ( ) : PropertyMap[]
GetUnmappedPropertyNames ( ) : string[]
HasDerivedTypesToInclude ( ) : bool
IncludeBaseTypes ( Type baseSourceType, Type baseDestinationType ) : void
IncludeDerivedTypes ( Type derivedSourceType, Type derivedDestinationType ) : void
InheritTypes ( TypeMap inheritedTypeMap ) : void
Seal ( AutoMapper.TypeMapRegistry typeMapRegistry, IConfigurationProvider configurationProvider ) : void
ShouldCheckForValid ( ) : bool
TypeHasBeenIncluded ( TypePair derivedTypes ) : bool
TypeMap ( TypeDetails sourceType, TypeDetails destinationType, MemberList memberList, IProfileConfiguration profile ) : System

Private Methods

Method Description
ApplyInheritedTypeMap ( TypeMap inheritedTypeMap ) : void

Method Details

AddAfterMapAction() public method

public AddAfterMapAction ( LambdaExpression afterMap ) : void
afterMap System.Linq.Expressions.LambdaExpression
return void

AddBeforeMapAction() public method

public AddBeforeMapAction ( LambdaExpression beforeMap ) : void
beforeMap System.Linq.Expressions.LambdaExpression
return void

AddPropertyMap() public method

public AddPropertyMap ( IMemberAccessor destProperty, IEnumerable resolvers ) : void
destProperty IMemberAccessor
resolvers IEnumerable
return void

ApplyInheritedMap() public method

public ApplyInheritedMap ( TypeMap inheritedTypeMap ) : void
inheritedTypeMap TypeMap
return void

FindOrCreatePropertyMapFor() public method

public FindOrCreatePropertyMapFor ( IMemberAccessor destinationProperty ) : PropertyMap
destinationProperty IMemberAccessor
return PropertyMap

FindOrCreateSourceMemberConfigFor() public method

public FindOrCreateSourceMemberConfigFor ( MemberInfo sourceMember ) : AutoMapper.SourceMemberConfig
sourceMember System.Reflection.MemberInfo
return AutoMapper.SourceMemberConfig

GetDerivedTypeFor() public method

public GetDerivedTypeFor ( Type derivedSourceType ) : Type
derivedSourceType System.Type
return System.Type

GetExistingPropertyMapFor() public method

public GetExistingPropertyMapFor ( IMemberAccessor destinationProperty ) : PropertyMap
destinationProperty IMemberAccessor
return PropertyMap

GetPropertyMaps() public method

public GetPropertyMaps ( ) : PropertyMap[]
return PropertyMap[]

GetUnmappedPropertyNames() public method

public GetUnmappedPropertyNames ( ) : string[]
return string[]

HasDerivedTypesToInclude() public method

public HasDerivedTypesToInclude ( ) : bool
return bool

IncludeBaseTypes() public method

public IncludeBaseTypes ( Type baseSourceType, Type baseDestinationType ) : void
baseSourceType System.Type
baseDestinationType System.Type
return void

IncludeDerivedTypes() public method

public IncludeDerivedTypes ( Type derivedSourceType, Type derivedDestinationType ) : void
derivedSourceType System.Type
derivedDestinationType System.Type
return void

InheritTypes() public method

public InheritTypes ( TypeMap inheritedTypeMap ) : void
inheritedTypeMap TypeMap
return void

Seal() public method

public Seal ( AutoMapper.TypeMapRegistry typeMapRegistry, IConfigurationProvider configurationProvider ) : void
typeMapRegistry AutoMapper.TypeMapRegistry
configurationProvider IConfigurationProvider
return void

ShouldCheckForValid() public method

public ShouldCheckForValid ( ) : bool
return bool

TypeHasBeenIncluded() public method

public TypeHasBeenIncluded ( TypePair derivedTypes ) : bool
derivedTypes TypePair
return bool

TypeMap() public method

public TypeMap ( TypeDetails sourceType, TypeDetails destinationType, MemberList memberList, IProfileConfiguration profile ) : System
sourceType TypeDetails
destinationType TypeDetails
memberList MemberList
profile IProfileConfiguration
return System