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