Class ClearOutputCommandHandler
- Namespace
- Loehnert.Lisrt.Scripting.OutputTool.Commands
- Assembly
- Loehnert.Lisrt.Scripting.dll
Command handler for the ClearOutputCommandDefinition.
[CommandHandler]
public class ClearOutputCommandHandler : CommandHandlerBase<ClearOutputCommandDefinition>, ICommandHandler<ClearOutputCommandDefinition>, ICommandHandler
- Inheritance
-
ClearOutputCommandHandler
- Implements
- Inherited Members
Constructors
ClearOutputCommandHandler(IShell, IOutputFactory)
Initializes a new instance of the ClearOutputCommandHandler class.
[ImportingConstructor]
public ClearOutputCommandHandler(IShell shell, IOutputFactory outputFactory)
Parameters
shell
IShellGemini shell.
outputFactory
IOutputFactoryFactory for the output tool.
Methods
Run(Command)
Clears the active output tool.
public override Task Run(Command command)
Parameters
command
CommandThe executing command.
Returns
- Task
The running task.