Interface ITerminalCommandSourceChecker<TContext>
An abstraction to checks the ITerminalCommandSource<TContext>.
public interface ITerminalCommandSourceChecker<TContext> where TContext : class
Type Parameters
TContext
Methods
CheckSourceAsync(TContext)
Checks the source and throws an exception if the source is not valid.
Task CheckSourceAsync(TContext context)
Parameters
context
TContext