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