AsyncCommand Class

Base class for an asynchronous command with no settings.
public abstract class AsyncCommand : ICommand<EmptyCommandSettings>, 
    ICommandLimiter<EmptyCommandSettings>, ICommand

Methods

abstract Task<int> ExecuteAsync(CommandContext)
Executes the command.

Extension Methods

T And<AsyncCommand>(Action<AsyncCommand>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.