Class StopScriptCommandHandler
Command handler for the StopScriptCommandDefinition.
[CommandHandler]
public class StopScriptCommandHandler : ScriptCommandHandlerBase<StopScriptCommandDefinition>, ICommandHandler<StopScriptCommandDefinition>, ICommandHandler
- Inheritance
-
StopScriptCommandHandler
- Implements
- Inherited Members
Constructors
StopScriptCommandHandler(IShell, IUserManager)
Initializes a new instance of the StopScriptCommandHandler class.
[ImportingConstructor]
public StopScriptCommandHandler(IShell shell, IUserManager userManager)
Parameters
shellIShellGemini shell.
userManagerIUserManagerManager for the users.
Exceptions
- ArgumentNullException
Thrown when
shelloruserManageris null.
Methods
Run(Command)
Stops the running script of the current project.
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.