Class StepScriptCommandHandler
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
shellIShellGemini shell.
userManagerIUserManagerManager for the users.
Exceptions
- ArgumentNullException
Thrown when
shelloruserManageris null.
Methods
Run(Command)
Steps to the next command in the active script module script.
public override Task Run(Command command)
Parameters
commandCommandThe executing command.
Returns
- Task
The running task.
Update(Command)
Updates the command.
public override void Update(Command command)
Parameters
commandCommandThe executing command.