Class OpenSearchBoxCommandHandler
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
IShellParent shell.
Methods
Run(Command)
Opens the search control by OpenSearchPanel(TextFileViewModel).
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
CommandThe executing command.