Exemple #1
0
        protected override void OnStartup(StartupEventArgs e) {
            base.OnStartup(e);

            _bootstrapper = new AppBootstrapper(new Container(), Locator.CurrentMutable);
            // TODO: In command mode perhaps we shouldnt even run a WpfApp instance or ??
            if (Entrypoint.CommandMode)
                RunCommands();
            else {
                _bootstrapper.Startup();
                CreateMainWindow();
                _bootstrapper.AfterWindow();
            }
        }