Edit

Share via


InvokableCommand.Invoke(Object) Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

This method executes the command associated with the InvokableCommand instance and keeps the command palette open.

Parameters

sender Object

The object that is invoking the command. This parameter can be used to pass additional context or data to the command being executed. It can be any object type, depending on the specific implementation of the command.

Returns

An InvokableCommand.Invoke().