C# Class ReflectedAutoMap.Mapping.AutoMapperObjectMapper

Inheritance: IMapper
Datei anzeigen Open project: ryanohs/DynamicServices

Public Methods

Method Description
HasMap ( object source, Type sourceType, Type destinationType ) : bool
Map ( object source, Type sourceType, Type destinationType ) : object

Private Methods

Method Description
CreateResolutionContext ( Type sourceType, Type destinationType, object source ) : AutoMapper.ResolutionContext
CreateTypePair ( Type sourceType, Type destinationType ) : object
IsCachedMapperFor ( AutoMapper.ResolutionContext resolutionContext ) : bool
IsMapperFor ( AutoMapper.ResolutionContext resolutionContext ) : bool

Method Details

HasMap() public method

public HasMap ( object source, Type sourceType, Type destinationType ) : bool
source object
sourceType System.Type
destinationType System.Type
return bool

Map() public method

public Map ( object source, Type sourceType, Type destinationType ) : object
source object
sourceType System.Type
destinationType System.Type
return object