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

             var IoCBuilder = new IoCBuilder();
             var container = IoCBuilder.BuildAndGetContainer();
             // we'll do View first (some do view first others do ViewModel first)
             _view = container.Resolve<IView>();
             _view.Show();
        }
예제 #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            var IoCBuilder = new IoCBuilder();
            var container  = IoCBuilder.BuildAndGetContainer();

            // we'll do View first (some do view first others do ViewModel first)
            _view = container.Resolve <IView>();
            _view.Show();
        }