Beispiel #1
0
        private async Task ExecuteAndDispatchNext(CommandBase command)
        {
            await command.ExecuteAsync().ConfigureAwait(false);

            CommandExecuted?.Invoke(this, new CommandRunnerEvent(command));

            DispatchNext();
        }
Beispiel #2
0
        private async Task ExecuteOne(CommandBase command)
        {
            await command.ExecuteAsync().ConfigureAwait(false);

            Executed?.Invoke(this, new CommandRunnerEvent(command));
        }