public async Task HandleAsync(ExitAppEvent message, CancellationToken cancellationToken) { await CloseAllModules(); await TryCloseAsync(); }
private void Exit() { ExitAppEvent?.Invoke(this, null); }
public async Task HandleAsync(ExitAppEvent message, CancellationToken cancellationToken) { await CloseAllModules(); await TryCloseAsync(); }
private void Exit() { ExitAppEvent?.Invoke(this, null); }