Table of Contents

Class StepScriptCommandHandler

Namespace
Loehnert.Lisrt.Scripting.Python.Commands
Assembly
Loehnert.Lisrt.Scripting.dll

Command handler for the StepScriptCommandDefinition.

[CommandHandler]
public class StepScriptCommandHandler : ScriptCommandHandlerBase<StepScriptCommandDefinition>, ICommandHandler<StepScriptCommandDefinition>, ICommandHandler
Inheritance
StepScriptCommandHandler
Implements
Inherited Members

Constructors

StepScriptCommandHandler(IShell, IUserManager)

Initializes a new instance of the StepScriptCommandHandler class.

[ImportingConstructor]
public StepScriptCommandHandler(IShell shell, IUserManager userManager)

Parameters

shell IShell

Gemini shell.

userManager IUserManager

Manager for the users.

Exceptions

ArgumentNullException

Thrown when shell or userManager is null.

Methods

Run(Command)

Steps to the next command in the active script module script.

public override Task Run(Command command)

Parameters

command Command

The executing command.

Returns

Task

The running task.

Update(Command)

Updates the command.

public override void Update(Command command)

Parameters

command Command

The executing command.