C# Class Kooboo.Commerce.Api.Local.Mapping.DefaultObjectMapper

Inheritance: IObjectMapper
Afficher le fichier Open project: Kooboo/Ecommerce Class Usage Examples

Méthodes publiques

Свойство Type Description
GetMapper Func

Méthodes publiques

Méthode Description
Map ( object source, object target, Type sourceType, Type targetType, string prefix, MappingContext context ) : object

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
ResolveSourcePropertyValue ( PropertyInfo property, object source, MappingContext context ) : object

Method Details

GetMapperOrDefault() protected méthode

protected GetMapperOrDefault ( Type sourceType, Type targetType ) : IObjectMapper
sourceType System.Type
targetType System.Type
Résultat IObjectMapper

IsComplexPropertyIncluded() protected méthode

protected IsComplexPropertyIncluded ( PropertyInfo property, string propertyPath, MappingContext context ) : bool
property System.Reflection.PropertyInfo
propertyPath string
context MappingContext
Résultat bool

IsComplexType() protected méthode

protected IsComplexType ( Type type ) : bool
type System.Type
Résultat bool

Map() public méthode

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
Résultat object

MapComplexProperty() protected méthode

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
Résultat void

MapProperty() protected méthode

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
Résultat void

MapSimpleProperty() protected méthode

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
Résultat void

Property Details

GetMapper public_oe property

public Func GetMapper
Résultat Func