C# Class Excella.Lean.Api.Mapping.ApiMappingFactory

Show file Open project: excellalabs/ExcellaLean

Public Methods

Method Description
DestructMappers ( ) : void
InitializeMappers ( ) : void

Used to setup AutoMapper

Private Methods

Method Description
CreateConfiguration ( ) : ConfigurationStore
CreateMapper ( IConfigurationProvider configuration ) : AutoMapper.MappingEngine

Method Details

DestructMappers() public static method

public static DestructMappers ( ) : void
return void

InitializeMappers() public static method

Used to setup AutoMapper
Thrown the mapping configuration is invalid - check the logs
public static InitializeMappers ( ) : void
return void