Table of Contents

Class AddReferenceCommandHandler

Namespace
Loehnert.Lisrt.Scripting.Project.References.Commands
Assembly
Loehnert.Lisrt.Scripting.dll

Command handler for the AddReferenceCommandDefinition.

[CommandHandler]
public class AddReferenceCommandHandler : ScriptCommandHandlerBase<AddReferenceCommandDefinition>, ICommandHandler<AddReferenceCommandDefinition>, ICommandHandler
Inheritance
AddReferenceCommandHandler
Implements
Inherited Members

Constructors

AddReferenceCommandHandler(IShell)

Initializes a new instance of the AddReferenceCommandHandler class.

[ImportingConstructor]
public AddReferenceCommandHandler(IShell shell)

Parameters

shell IShell

Gemini shell.

Methods

Run(Command)

Shows the OpenFileDialog dialog for adding a new reference.

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.