Skip to content

Commit 8fa3ab3

Browse files
committed
Update from review and format for consistency
1 parent 4dc6cfb commit 8fa3ab3

File tree

175 files changed

+455
-443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+455
-443
lines changed

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/anonymouscommand_constructor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ public AnonymousCommand(Action? action)
2626

2727
### Parameters
2828

29-
**`action`** Action
29+
*action* **Action**
3030

3131
The action to be executed when the command is invoked. This parameter is optional and can be null.

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/baseobservable_onpropertychanged.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Raises the [PropChanged](baseobservable.md#events) event to notify that a proper
1616

1717
## Parameters
1818

19-
**`propertyName`** String
19+
*propertyName* **String**
2020

2121
The name of the property that has changed.

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/choice.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public Choice(string title, string value)
3030

3131
### Parameters
3232

33-
**`title`** String
33+
*title* **String**
3434

3535
The display text for the choice. This is the text that will be shown to the user in the UI.
3636

37-
**`value`** String
37+
*value* **String**
3838

3939
The value for the choice. This is the value that will be returned when the choice is selected. It can be any string that represents the choice in a meaningful way.
4040

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/choicesetsetting_constructor.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ no-loc: [PowerToys, Windows, Insider]
1414

1515
Namespace: [Microsoft.CommandPalette.Extensions.Toolkit](microsoft-commandpalette-extensions-toolkit.md)
1616

17-
Initializes a new instance of the [ChoiceSetSetting](choicesetsetting.md) class from the base [Setting](setting.md) class, setting its [Key](setting.md#properties) property to `key` and its [Choices](choicesetsetting.md#properties) set to `choices`.
17+
Initializes a new instance of the [ChoiceSetSetting](choicesetsetting.md) class from the base [Setting](setting.md) class, setting its [Key](setting.md#properties) property to *key* and its [Choices](choicesetsetting.md#properties) set to *choices*.
1818

1919
```C#
2020
public ChoiceSetSetting(string key, List<Choice> choices)
@@ -26,11 +26,11 @@ public ChoiceSetSetting(string key, List<Choice> choices)
2626

2727
### Parameters
2828

29-
**`key`** String
29+
*key* **String**
3030

3131
The key for the setting. This is a unique identifier that is used to reference the setting in the application.
3232

33-
**`choices`** List\<[Choice](choice.md)\>
33+
*choices* **List\<[Choice](choice.md)\>**
3434

3535
The list of choices for the setting. Each choice is represented by a [Choice](choice.md) object, which contains the display text and value for the choice. The first choice in the list is used as the default value for the setting.
3636

@@ -40,7 +40,7 @@ The list of choices for the setting. Each choice is represented by a [Choice](ch
4040

4141
Namespace: [Microsoft.CommandPalette.Extensions.Toolkit](microsoft-commandpalette-extensions-toolkit.md)
4242

43-
Initializes a new instance of the [ChoiceSetSetting](choicesetsetting.md) class from the base [Setting](setting.md) class, setting its [Key](setting.md#properties) property to `key`, its [Label](setting.md#properties) to `label`, its [Description](setting.md#properties) to `description`, and its [Choices](choicesetsetting.md#properties) to `choices`.
43+
Initializes a new instance of the [ChoiceSetSetting](choicesetsetting.md) class from the base [Setting](setting.md) class, setting its [Key](setting.md#properties) property to *key*, its [Label](setting.md#properties) to *label*, its [Description](setting.md#properties) to *description*, and its [Choices](choicesetsetting.md#properties) to *choices*.
4444

4545
```C#
4646
public ChoiceSetSetting(string key, string label, string description, List<Choice> choices)
@@ -52,18 +52,18 @@ public ChoiceSetSetting(string key, string label, string description, List<Choic
5252

5353
### Parameters
5454

55-
**`key`** String
55+
*key* **String**
5656

5757
The key for the setting. This is a unique identifier that is used to reference the setting in the application.
5858

59-
**`label`** String
59+
*label* **String**
6060

6161
The label for the setting. This is a user-friendly name that is displayed to the user in the application.
6262

63-
**`description`** String
63+
*description* **String**
6464

6565
The description for the setting. This provides additional information about the setting and its purpose.
6666

67-
**`choices`** List\<[Choice](choice.md)\>
67+
*choices* **List\<[Choice](choice.md)\>**
6868

6969
The list of choices for the setting. Each choice is represented by a [Choice](choice.md) object, which contains the display text and value for the choice. The first choice in the list is used as the default value for the setting.

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/choicesetsetting_loadfromjson.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ The **LoadFromJson** method loads the setting from a JSON object. This is useful
1616

1717
## Parameters
1818

19-
**`jsonObject`** JsonObject
19+
*jsonObject* **JsonObject**
2020

21-
The JSON object that contains the values for the setting. This object should include the properties that need to be set, such as the name, description, default value, and list of choices.
21+
The **JsonObject** that contains the values for the setting. This object should include the properties that need to be set, such as the name, description, default value, and list of choices.
2222

2323
## Returns
2424

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/choicesetsetting_update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ The **Update** method updates the setting from a JSON object. This is useful for
1616

1717
## Parameters
1818

19-
**`payload`** JsonObject
19+
*payload* **JsonObject**
2020

21-
The JSON object that contains the updated values for the setting. This object should include the properties that need to be updated, such as the name, description, default value, and list of choices.
21+
The **JsonObject** that contains the updated values for the setting. This object should include the properties that need to be updated, such as the name, description, default value, and list of choices.

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/clipboardhelper_setrtf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ The **SetRtf** method sets the RTF (Rich Text Format) data on the clipboard. Thi
1616

1717
## Parameters
1818

19-
**`plainText`** String
19+
*plainText* **String**
2020

2121
The plain text representation of the RTF data. This is the text that will be displayed when the RTF data is pasted into applications that do not support RTF.
2222

23-
**`rtfText`** String
23+
*rtfText* **String**
2424

2525
The RTF data to set on the clipboard. This is the formatted text that will be pasted into applications that support RTF. The RTF data should be a valid RTF string, including formatting information such as font styles, colors, and sizes.

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/clipboardhelper_settext.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ The **SetText** method sets the text data on the clipboard. This is useful for a
1616

1717
## Parameters
1818

19-
**`text`** String
19+
*text* **String**
2020

2121
The text to set on the clipboard. This can be any string value, including plain text or formatted text.

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/colorhelpers_fromargb.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ The **FromArgb** method creates a color from the specified ARGB values. This is
1616

1717
## Parameters
1818

19-
**`a`** Byte
19+
*a* **Byte**
2020

21-
The alpha component of the color. This value should be between 0 and 255, where 0 is fully transparent and 255 is fully opaque.
21+
The alpha component of the color. This value should be between `0` and `255`, where `0` is fully transparent and `255` is fully opaque.
2222

23-
**`r`** Byte
23+
*r* **Byte**
2424

25-
The red component of the color. This value should be between 0 and 255.
25+
The red component of the color. This value should be between `0` and `255`.
2626

27-
**`g`** Byte
27+
*g* **Byte**
2828

29-
The green component of the color. This value should be between 0 and 255.
29+
The green component of the color. This value should be between `0` and `255`.
3030

31-
**`b`** Byte
31+
*b* **Byte**
3232

33-
The blue component of the color. This value should be between 0 and 255.
33+
The blue component of the color. This value should be between `0` and `255`.
3434

3535
## Returns
3636

hub/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/colorhelpers_fromrgb.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ The **FromRgb** method creates a color from the specified RGB values. This is us
1616

1717
## Parameters
1818

19-
**`r`** Byte
19+
*r* **Byte**
2020

21-
The red component of the color. This value should be between 0 and 255.
21+
The red component of the color. This value should be between `0` and `255`.
2222

23-
**`g`** Byte
23+
*g* **Byte**
2424

25-
The green component of the color. This value should be between 0 and 255.
25+
The green component of the color. This value should be between `0` and `255`.
2626

27-
**`b`** Byte
27+
*b* **Byte**
2828

29-
The blue component of the color. This value should be between 0 and 255.
29+
The blue component of the color. This value should be between `0` and `255`.
3030

3131
## Returns
3232

0 commit comments

Comments
 (0)