示例#1
0
        protected override void OnStartup(StartupEventArgs e)
        {

            base.OnStartup(e);
            Bootstrapper bootstrapper = new Bootstrapper();
            bootstrapper.Run();
            EventAggregator = ServiceLocator.Current.GetInstance<IEventAggregator>();
            
        }
示例#2
0
        protected override void OnStartup(StartupEventArgs e)
        {

            base.OnStartup(e);
                                    
            // bootstrap MEF composition

            Bootstrapper b = new Bootstrapper();
            b.Run();


        }