Exemple #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            _container = new OrlemContainer(new MockLoggingService());
            _container.AddDependenciesSource <DemoAppDependenciesSource>();
            _container.Start();

            var startWindowVm  = _container.Resolve <StartWindowViewModel>();
            var windowsManager = _container.Resolve <IWindowsManager>();

            windowsManager.OpenStartWindow(startWindowVm);
        }