| title | InvokableCommand Class | |||
|---|---|---|---|---|
| description | The InvokableCommand class is a specialized command that can be invoked directly from the command palette. | |||
| ms.date | 2/11/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
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.
| 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. |