private async Task ExecuteAndDispatchNext(CommandBase command) { await command.ExecuteAsync().ConfigureAwait(false); CommandExecuted?.Invoke(this, new CommandRunnerEvent(command)); DispatchNext(); }
private async Task ExecuteOne(CommandBase command) { await command.ExecuteAsync().ConfigureAwait(false); Executed?.Invoke(this, new CommandRunnerEvent(command)); }