Beispiel #1
0
        private void Run()
        {
            var autofacSetup = new AutofacSetup();
            var container = autofacSetup.Run();

            var autoMapperSetup = new AutoMapperSetup();
            autoMapperSetup.Run();

            HostFactory.Run(configurator => SetupService(configurator, container));
        }
Beispiel #2
0
        private void Run()
        {
            var autofacSetup = new AutofacSetup();
            var container    = autofacSetup.Run();

            var autoMapperSetup = new AutoMapperSetup();

            autoMapperSetup.Run();

            HostFactory.Run(configurator => SetupService(configurator, container));
        }