Class FormatCurrentDocumentCommandHandler
- Namespace
- Loehnert.Lisrt.Scripting.CodeFormatting.Commands
- Assembly
- Loehnert.Lisrt.Scripting.dll
Command handler for the FormatCurrentDocumentCommandDefinition.
[CommandHandler]
public class FormatCurrentDocumentCommandHandler : ScriptCommandHandlerBase<FormatCurrentDocumentCommandDefinition>, ICommandHandler<FormatCurrentDocumentCommandDefinition>, ICommandHandler
- Inheritance
-
FormatCurrentDocumentCommandHandler
- Implements
- Inherited Members
Constructors
FormatCurrentDocumentCommandHandler(IShell, IEnumerable<ICodeFormatter>)
Initializes a new instance of the FormatCurrentDocumentCommandHandler class.
[ImportingConstructor]
public FormatCurrentDocumentCommandHandler(IShell shell, IEnumerable<ICodeFormatter> formatters)
Parameters
shell
IShellGemini shell.
formatters
IEnumerable<ICodeFormatter>Code formatters.
Methods
Run(Command)
Toggles the breakpoint in the selected line.
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.