Edit

Share via


InvokableCommand Class

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

Inherits Command

Implements IInvokableCommand

The InvokableCommand class is a specialized command that can be invoked directly from the command palette. It provides a way to execute commands without requiring additional user input or confirmation.

Methods

Method Description
Invoke() Keeps the command palette open after the command is invoked.
Invoke(Object) Keeps the command palette open after the command is invoked with an object parameter.