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
shell
IShellGemini shell.
userManager
IUserManagerManager for the users.
Exceptions
- ArgumentNullException
Thrown when
shell
oruserManager
is null.
Methods
Run(Command)
Steps to the next command in the active script module script.
public override Task Run(Command command)
Parameters
command
CommandThe executing command.
Returns
- Task
The running task.
Update(Command)
Updates the command.
public override void Update(Command command)
Parameters
command
CommandThe executing command.