C# 클래스 Kooboo.Commerce.Api.Local.Mapping.DefaultObjectMapper

상속: IObjectMapper
파일 보기 프로젝트 열기: Kooboo/Ecommerce 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GetMapper Func

공개 메소드들

메소드 설명
Map ( object source, object target, Type sourceType, Type targetType, string prefix, MappingContext context ) : object

보호된 메소드들

메소드 설명
GetMapperOrDefault ( Type sourceType, Type targetType ) : IObjectMapper
IsComplexPropertyIncluded ( PropertyInfo property, string propertyPath, MappingContext context ) : bool
IsComplexType ( Type type ) : bool
MapComplexProperty ( PropertyInfo targetProperty, PropertyInfo sourceProperty, object sourcePropValue, object source, object target, Type sourceType, Type targetType, string propertyPath, MappingContext context ) : void
MapProperty ( PropertyInfo targetProperty, object source, object target, Type sourceType, Type targetType, string propertyPath, MappingContext context ) : void
MapSimpleProperty ( PropertyInfo targetProperty, PropertyInfo sourceProperty, object sourcePropValue, object source, object target, Type sourceType, Type targetType, string propertyPath, MappingContext context ) : void

비공개 메소드들

메소드 설명
ResolveSourcePropertyValue ( PropertyInfo property, object source, MappingContext context ) : object

메소드 상세

GetMapperOrDefault() 보호된 메소드

protected GetMapperOrDefault ( Type sourceType, Type targetType ) : IObjectMapper
sourceType System.Type
targetType System.Type
리턴 IObjectMapper

IsComplexPropertyIncluded() 보호된 메소드

protected IsComplexPropertyIncluded ( PropertyInfo property, string propertyPath, MappingContext context ) : bool
property System.Reflection.PropertyInfo
propertyPath string
context MappingContext
리턴 bool

IsComplexType() 보호된 메소드

protected IsComplexType ( Type type ) : bool
type System.Type
리턴 bool

Map() 공개 메소드

public Map ( object source, object target, Type sourceType, Type targetType, string prefix, MappingContext context ) : object
source object
target object
sourceType System.Type
targetType System.Type
prefix string
context MappingContext
리턴 object

MapComplexProperty() 보호된 메소드

protected MapComplexProperty ( PropertyInfo targetProperty, PropertyInfo sourceProperty, object sourcePropValue, object source, object target, Type sourceType, Type targetType, string propertyPath, MappingContext context ) : void
targetProperty System.Reflection.PropertyInfo
sourceProperty System.Reflection.PropertyInfo
sourcePropValue object
source object
target object
sourceType System.Type
targetType System.Type
propertyPath string
context MappingContext
리턴 void

MapProperty() 보호된 메소드

protected MapProperty ( PropertyInfo targetProperty, object source, object target, Type sourceType, Type targetType, string propertyPath, MappingContext context ) : void
targetProperty System.Reflection.PropertyInfo
source object
target object
sourceType System.Type
targetType System.Type
propertyPath string
context MappingContext
리턴 void

MapSimpleProperty() 보호된 메소드

protected MapSimpleProperty ( PropertyInfo targetProperty, PropertyInfo sourceProperty, object sourcePropValue, object source, object target, Type sourceType, Type targetType, string propertyPath, MappingContext context ) : void
targetProperty System.Reflection.PropertyInfo
sourceProperty System.Reflection.PropertyInfo
sourcePropValue object
source object
target object
sourceType System.Type
targetType System.Type
propertyPath string
context MappingContext
리턴 void

프로퍼티 상세

GetMapper 공개적으로 프로퍼티

public Func GetMapper
리턴 Func