Table of Contents

Class OpenSearchBoxCommandHandler

Namespace
Loehnert.Lisrt.Scripting.SearchBox
Assembly
Loehnert.Lisrt.Scripting.dll

Command handler for the OpenSearchBoxCommandDefintion.

[CommandHandler]
public class OpenSearchBoxCommandHandler : ScriptCommandHandlerBase<OpenSearchBoxCommandDefintion>, ICommandHandler<OpenSearchBoxCommandDefintion>, ICommandHandler
Inheritance
OpenSearchBoxCommandHandler
Implements
Inherited Members

Constructors

OpenSearchBoxCommandHandler(IShell)

Initializes a new instance of the OpenSearchBoxCommandHandler class.

[ImportingConstructor]
public OpenSearchBoxCommandHandler(IShell shell)

Parameters

shell IShell

Parent shell.

Methods

Run(Command)

Opens the search control by OpenSearchPanel(TextFileViewModel).

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.