public BaseController() : base() { AnonymousManagersProvider = new ManagersProvider(); IPlatformSpecificMapperRegistry platformSpecificRegistry = PlatformAdapter.Resolve<IPlatformSpecificMapperRegistry>(true); platformSpecificRegistry.Initialize(); var store = new ConfigurationStore(new TypeMapFactory(), MapperRegistry.Mappers); _mapper = new MappingEngine(store); }
public BaseController() : base() { AnonymousManagersProvider = new ManagersProvider(); IPlatformSpecificMapperRegistry platformSpecificRegistry = PlatformAdapter.Resolve <IPlatformSpecificMapperRegistry>(true); platformSpecificRegistry.Initialize(); var store = new ConfigurationStore(new TypeMapFactory(), MapperRegistry.Mappers); _mapper = new MappingEngine(store); }