Table of Contents

Class CommandChecker

Namespace
OneImlx.Terminal.Commands.Checkers
Assembly
OneImlx.Terminal.dll

The default command checker.

public sealed class CommandChecker : ICommandChecker
Inheritance
CommandChecker
Implements
Inherited Members

Constructors

CommandChecker(IOptionChecker, IArgumentChecker, TerminalOptions, ILogger<CommandChecker>)

Initialize a new instance.

public CommandChecker(IOptionChecker optionChecker, IArgumentChecker argumentChecker, TerminalOptions terminalOptions, ILogger<CommandChecker> logger)

Parameters

optionChecker IOptionChecker

The option checker.

argumentChecker IArgumentChecker

The argument checker.

terminalOptions TerminalOptions

The configuration options.

logger ILogger<CommandChecker>

The logger.

Methods

CheckCommandAsync(CommandCheckerContext)

Checks Command asynchronously.

public Task<CommandCheckerResult> CheckCommandAsync(CommandCheckerContext context)

Parameters

context CommandCheckerContext

The command check context.

Returns

Task<CommandCheckerResult>

The CommandCheckerResult instance.