Table of Contents

Class ViewProjectCommandHandler

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

Command handler for the ViewProjectCommandDefinition.

[CommandHandler]
public class ViewProjectCommandHandler : ScriptCommandHandlerBase<ViewProjectCommandDefinition>, ICommandHandler<ViewProjectCommandDefinition>, ICommandHandler
Inheritance
ViewProjectCommandHandler
Implements
Inherited Members

Constructors

ViewProjectCommandHandler(IShell, IProjectViewModelFactory)

Initializes a new instance of the ViewProjectCommandHandler class.

[ImportingConstructor]
public ViewProjectCommandHandler(IShell shell, IProjectViewModelFactory projectViewModelFactory)

Parameters

shell IShell

Gemini shell.

projectViewModelFactory IProjectViewModelFactory

Factory for project view models.

Methods

Run(Command)

Shows the project explorer.

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

The executing command.