Table of Contents

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 IShell

Gemini shell.

outputFactory IOutputFactory

Factory for the output tool.

Methods

Run(Command)

Clears the active output tool.

public override Task Run(Command command)

Parameters

command Command

The executing command.

Returns

Task

The running task.