protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); Bootstrapper bootstrapper = new Bootstrapper(); bootstrapper.Run(); EventAggregator = ServiceLocator.Current.GetInstance<IEventAggregator>(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); // bootstrap MEF composition Bootstrapper b = new Bootstrapper(); b.Run(); }