Table of Contents

Class LicenseInfoRunner

Namespace
OneImlx.Terminal.Commands.Runners
Assembly
OneImlx.Terminal.dll

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 ITerminalConsole
licenseChecker ILicenseChecker

Methods

RunCommandAsync(CommandRunnerContext)

Runs a command asynchronously.

public override Task<CommandRunnerResult> RunCommandAsync(CommandRunnerContext context)

Parameters

context CommandRunnerContext

The runner context.

Returns

Task<CommandRunnerResult>

The runner result.