Class LicenseInfoRunner
The default license info runner that outputs the current licensing information to the ITerminalConsole.
public class LicenseInfoRunner : CommandRunner<CommandRunnerResult>, IDelegateCommandRunner, ICommandRunner<CommandRunnerResult>
- Inheritance
-
LicenseInfoRunner
- Implements
- Inherited Members
Constructors
LicenseInfoRunner(ITerminalConsole, ILicenseChecker)
Initialize a new instance.
public LicenseInfoRunner(ITerminalConsole terminalConsole, ILicenseChecker licenseChecker)
Parameters
terminalConsole
ITerminalConsolelicenseChecker
ILicenseChecker
Methods
RunCommandAsync(CommandRunnerContext)
Runs a command asynchronously.
public override Task<CommandRunnerResult> RunCommandAsync(CommandRunnerContext context)
Parameters
context
CommandRunnerContextThe runner context.
Returns
- Task<CommandRunnerResult>
The runner result.