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);

            }
Example #2
0
        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);
        }