Skip to content

Commit 3ac3f19

Browse files
committed
Tweak opening paragraph of command results
1 parent 928b85a commit 3ac3f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub/powertoys/command-palette/command-results.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ no-loc: [PowerToys, Windows, Insider]
1111

1212
**Previous**: [Add top-level commands to your extension](add-top-level-commands-to-your-extension.md)
1313

14-
[IInvokableCommand](./microsoft-commandpalette-extensions/iinvokablecommand.md)s are the fundamental units of "do something" in the Command Palette. The [Invoke](./microsoft-commandpalette-extensions/iinvokablecommand.md) method is called when the user selects the command, and it's where you _do something_ in your extension. The **Invoke** method returns an **ICommandResult**, which tells the Command Palette what to do after the command has been invoked. This page details what's possible with each type of command result.
14+
An [IInvokableCommand](./microsoft-commandpalette-extensions/iinvokablecommand.md) is a fundamental unit of *do something* in the Command Palette. The [Invoke](./microsoft-commandpalette-extensions/iinvokablecommand.md) method is called when the user selects the command, and it's where you *do something* in your extension. The **Invoke** method returns an **ICommandResult**, which tells the Command Palette what to do after the command has been invoked. This page details what's possible with each type of command result.
1515

1616
The toolkit provides a number of helper methods to create command results. These are all static methods on the **CommandResult** class. Calling these methods on their own won't do anything. You must return those objects as the result of a **Invoke** method, for Command Palette to handle them.
1717

0 commit comments

Comments
 (0)