Class EnableDebuggingCommandHandler
Command handler for the EnableDebuggingCommandDefinition.
[CommandHandler]
public class EnableDebuggingCommandHandler : ScriptCommandHandlerBase<EnableDebuggingCommandDefinition>, ICommandHandler<EnableDebuggingCommandDefinition>, ICommandHandler
- Inheritance
-
EnableDebuggingCommandHandler
- Implements
- Inherited Members
Constructors
EnableDebuggingCommandHandler(IShell, IUserManager)
Initializes a new instance of the EnableDebuggingCommandHandler class.
[ImportingConstructor]
public EnableDebuggingCommandHandler(IShell shell, IUserManager userManager)
Parameters
shell
IShellGemini shell.
userManager
IUserManagerManager for the users.
Exceptions
- ArgumentNullException
Thrown when
shell
oruserManager
is null.
Methods
Run(Command)
Enables or disables the debug mode in the engine.
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.