Exemplo n.º 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();
        }
Exemplo n.º 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();
        }