Table of Contents

Class GoToDefinitionCommandHandler

Namespace
Loehnert.Lisrt.Scripting.Editor.File.Commands
Assembly
Loehnert.Lisrt.Scripting.dll

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 IShell

Gemini shell.

editorFactories IEnumerable<IEditorFactory>

Factories for editors.

intelliSenseService IIntelliSenseService

Optional IntelliSense service.

Methods

Run(Command)

Runs the command.

public override Task Run(Command command)

Parameters

command Command

The executing command.

Returns

Task

The running task.

Update(Command)

Updates the command.

public override void Update(Command command)

Parameters

command Command

Command to update.