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