Class GoToDefinitionCommandHandler
Represents a command handler to go to definition of a piece of code of a TextFileViewModel instance.
[CommandHandler]
public class GoToDefinitionCommandHandler : ScriptCommandHandlerBase<GoToDefinitionCommandDefinition>, ICommandHandler<GoToDefinitionCommandDefinition>, ICommandHandler
- Inheritance
-
GoToDefinitionCommandHandler
- Implements
- Inherited Members
Constructors
GoToDefinitionCommandHandler(IShell, IEnumerable<IEditorFactory>, IIntelliSenseService)
Initializes a new instance of the GoToDefinitionCommandHandler class.
[ImportingConstructor]
public GoToDefinitionCommandHandler(IShell shell, IEnumerable<IEditorFactory> editorFactories, IIntelliSenseService intelliSenseService)
Parameters
shell
IShellGemini shell.
editorFactories
IEnumerable<IEditorFactory>Factories for editors.
intelliSenseService
IIntelliSenseServiceOptional IntelliSense service.
Methods
Run(Command)
Runs the command.
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
CommandCommand to update.