Skip to content

Commit 9fe2f46

Browse files
committed
update extension interface
1 parent 9835747 commit 9fe2f46

File tree

5 files changed

+41
-6
lines changed

5 files changed

+41
-6
lines changed

hub/powertoys/command-palette/microsoft-commandpalette-extensions/iextension.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,9 @@ no-loc: [PowerToys, Windows, Insider]
1212

1313
Namespace: [Microsoft.CommandPalette.Extensions](microsoft-commandpalette-extensions.md)
1414

15-
## Properties
15+
## Methods
16+
17+
| Method | Description |
18+
| :--- | :--- |
19+
| [Dispose()](iextension_dispose.md) | |
20+
| [GetProvider(ProviderType)](iextension_getprovider.md) | Gets the provider type. |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: IExtension.Dispose() Method
3+
description:
4+
ms.date: 2/6/2025
5+
ms.topic: reference
6+
no-loc: [PowerToys, Windows, Insider]
7+
---
8+
9+
# IExtension.Dispose() Method
10+
11+
## Definition
12+
13+
Namespace: [Microsoft.CommandPalette.Extensions](microsoft-commandpalette-extensions.md)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: IExtension.GetProvider(ProviderType) Method
3+
description:
4+
ms.date: 2/6/2025
5+
ms.topic: reference
6+
no-loc: [PowerToys, Windows, Insider]
7+
---
8+
9+
# IExtension.GetProvider(ProviderType) Method
10+
11+
## Definition
12+
13+
Namespace: [Microsoft.CommandPalette.Extensions](microsoft-commandpalette-extensions.md)
14+
15+
## Parameters
16+
17+
`providerType` [ProviderType](providertype.md)

hub/powertoys/command-palette/microsoft-commandpalette-extensions/optionalcolor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: KeyChord Struct
2+
title: OptionalColor Struct
33
description:
44
ms.date: 2/6/2025
55
ms.topic: reference
66
no-loc: [PowerToys, Windows, Insider]
77
---
88

9-
# KeyChord Struct
9+
# OptionalColor Struct
1010

1111
## Definition
1212

hub/powertoys/command-palette/sdk-namespaces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Command Palette SDK Namespaces
33
description: The Command Palette provides a full extension model, allowing developers to create their own experiences for the palette. Find info about how to use its SDK namespaces to author an extension.
4-
ms.date: 2/5/2025
4+
ms.date: 2/6/2025
55
ms.topic: concept-article
66
no-loc: [PowerToys, Windows, Insider]
77
# Customer intent: As a Windows developer, I want to learn how to use the Command Palette SDK to create an extension.
@@ -13,5 +13,5 @@ This section provides detailed information about the namespaces in the Command P
1313

1414
| Namespace | Description |
1515
| :--- | :--- |
16-
| [Microsoft.Windows.Run](./microsoft-windows-run/microsoft-windows-run.md) | Contains the interfaces to create extensions for the Command Palette. |
17-
| [Microsoft.Windows.Run.Extensions](./microsoft-windows-run-extensions/microsoft-windows-run-extensions.md) | Contains helper classes that make creating extensions easier. |
16+
| [Microsoft.CommandPalette.Extensions](./microsoft-commandpalette-extensions/microsoft-commandpalette-extensions.md) | Contains the interfaces to create extensions for the Command Palette. |
17+
| [Microsoft.CommandPalette.Extensions.Toolkit](./microsoft-commandpalette-extensions-toolkit/microsoft-commandpalette-extensions-toolkit.md) | Contains helper classes that make creating extensions easier. |

0 commit comments

Comments
 (0)