Exemple #1
0
 public void Handle(ExitApplicationEvent message)
 {
     if (!installWasAttempted)
     {
         eventAggregator.Publish <NoInstallAttemptedEvent>();
     }
     base.TryClose();
 }
 public ApplicationController(IShellPresenter presenter, IEventAggregator aggregator)
 {
     _presenter = presenter;
     _event = aggregator.GetEvent<ExitApplicationEvent>();
 }
Exemple #3
0
 public void Handle(ExitApplicationEvent message)
 {
     ExitApplication();
 }