예제 #1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            _errorHandler = new UnhandledErrorHandler(Current, Dispatcher);

            var containerBuilder = new ContainerBuilder();
            containerBuilder.RegisterModule<BootstrapModule>();
            _container = containerBuilder.Build();
        }
예제 #2
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            _errorHandler = new UnhandledErrorHandler(Current, Dispatcher);

            var containerBuilder = new ContainerBuilder();

            containerBuilder.RegisterModule <BootstrapModule>();
            _container = containerBuilder.Build();
        }