mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Fix SA1623: Fix property documentation summaries (#46717)
Update 29 property XML doc summaries to begin with Gets, Gets or sets, or Gets a value indicating whether as required by StyleCop SA1623. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
public bool ShowSystemTrayIcon { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether to show the profile switcher button in the flyout UI.
|
||||
/// Gets or sets a value indicating whether to show the profile switcher button in the flyout UI.
|
||||
/// Default is true. When false, the profile switcher is hidden (but profiles still work via Settings).
|
||||
/// Note: Also hidden when no profiles exist.
|
||||
/// </summary>
|
||||
@@ -56,7 +56,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
public bool ShowProfileSwitcher { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether to show the identify monitors button in the flyout UI.
|
||||
/// Gets or sets a value indicating whether to show the identify monitors button in the flyout UI.
|
||||
/// Default is true.
|
||||
/// </summary>
|
||||
[JsonPropertyName("show_identify_monitors_button")]
|
||||
|
||||
@@ -465,7 +465,7 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
public ObservableCollection<CustomVcpValueMapping> CustomVcpMappings => _customVcpMappings;
|
||||
|
||||
/// <summary>
|
||||
/// Gets whether there are any custom VCP mappings (for UI binding)
|
||||
/// Gets a value indicating whether there are any custom VCP mappings (for UI binding).
|
||||
/// </summary>
|
||||
public bool HasCustomVcpMappings => _customVcpMappings?.Count > 0;
|
||||
|
||||
@@ -475,7 +475,7 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
public ObservableCollection<PowerDisplayProfile> Profiles => _profiles;
|
||||
|
||||
/// <summary>
|
||||
/// Gets whether there are any profiles (for UI binding)
|
||||
/// Gets a value indicating whether there are any profiles (for UI binding).
|
||||
/// </summary>
|
||||
public bool HasProfiles => _profiles?.Count > 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user