diff --git a/.github/actions/spell-check/allow/code.txt b/.github/actions/spell-check/allow/code.txt index b9be3f82a4..4de5971195 100644 --- a/.github/actions/spell-check/allow/code.txt +++ b/.github/actions/spell-check/allow/code.txt @@ -48,7 +48,6 @@ nupkg petabyte resw resx -runtimeconfig srt Stereolithography terabyte @@ -341,6 +340,29 @@ WINEVENTPROC WORKERW FULLSCREENAPP +# COM/WinRT interface prefixes and type fragments +BAlt +BShift +Cmanifest +Cmodule +Cuuid +Dng +IApplication +IDisposable +IEnum +IFolder +IInitialize +IMemory +IOle +ipreview +IProperty +IShell +ithumbnail +IVirtual + +# Test frameworks +MSTEST + # PowerRename metadata pattern abbreviations (used in tests and regex patterns) DDDD FFF diff --git a/src/dsc/v3/PowerToys.DSC.UnitTests/BaseDscTest.cs b/src/dsc/v3/PowerToys.DSC.UnitTests/BaseDscTest.cs index 3d1fe6322d..f8086e8165 100644 --- a/src/dsc/v3/PowerToys.DSC.UnitTests/BaseDscTest.cs +++ b/src/dsc/v3/PowerToys.DSC.UnitTests/BaseDscTest.cs @@ -26,7 +26,7 @@ public class BaseDscTest /// /// The name of the resource string. /// The arguments to format the resource string with. - /// + /// The formatted resource string. public string GetResourceString(string name, params string[] args) { return string.Format(CultureInfo.InvariantCulture, _resourceManager.GetString(name, CultureInfo.InvariantCulture), args); @@ -37,7 +37,7 @@ public class BaseDscTest /// /// The type of the DSC command to execute. /// - /// + /// The result of the DSC command execution. protected DscExecuteResult ExecuteDscCommand(params string[] args) where T : Command, new() { diff --git a/src/dsc/v3/PowerToys.DSC/Models/FunctionData/ISettingsFunctionData.cs b/src/dsc/v3/PowerToys.DSC/Models/FunctionData/ISettingsFunctionData.cs index 7cf02d1c74..63d663bd52 100644 --- a/src/dsc/v3/PowerToys.DSC/Models/FunctionData/ISettingsFunctionData.cs +++ b/src/dsc/v3/PowerToys.DSC/Models/FunctionData/ISettingsFunctionData.cs @@ -47,6 +47,6 @@ public interface ISettingsFunctionData /// /// Gets the schema for the settings resource object. /// - /// + /// The JSON schema string for the settings resource object. public string Schema(); } diff --git a/src/dsc/v3/PowerToys.DSC/Models/ResourceObjects/BaseResourceObject.cs b/src/dsc/v3/PowerToys.DSC/Models/ResourceObjects/BaseResourceObject.cs index d6e3e08dcc..eaffec65ac 100644 --- a/src/dsc/v3/PowerToys.DSC/Models/ResourceObjects/BaseResourceObject.cs +++ b/src/dsc/v3/PowerToys.DSC/Models/ResourceObjects/BaseResourceObject.cs @@ -37,7 +37,7 @@ public class BaseResourceObject /// /// Generates a JSON representation of the resource object. /// - /// + /// A JSON representation of the resource object. public JsonNode ToJson() { return JsonSerializer.SerializeToNode(this, GetType(), _options) ?? new JsonObject(); diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WebSearch/Helpers/Browser/IBrowserInfoService.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WebSearch/Helpers/Browser/IBrowserInfoService.cs index 5d82193e5d..da8783c621 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WebSearch/Helpers/Browser/IBrowserInfoService.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WebSearch/Helpers/Browser/IBrowserInfoService.cs @@ -12,6 +12,6 @@ public interface IBrowserInfoService /// /// Gets information about the system's default web browser. /// - /// + /// The default browser information, or if it could not be determined. BrowserInfo? GetDefaultBrowser(); } diff --git a/src/modules/cmdpal/extensionsdk/Microsoft.CommandPalette.Extensions.Toolkit/ShellHelpers.cs b/src/modules/cmdpal/extensionsdk/Microsoft.CommandPalette.Extensions.Toolkit/ShellHelpers.cs index 42b3114c8a..09c5ba2a89 100644 --- a/src/modules/cmdpal/extensionsdk/Microsoft.CommandPalette.Extensions.Toolkit/ShellHelpers.cs +++ b/src/modules/cmdpal/extensionsdk/Microsoft.CommandPalette.Extensions.Toolkit/ShellHelpers.cs @@ -248,7 +248,7 @@ public static class ShellHelpers /// /// /// - /// + /// if the executable was resolved to a full path; otherwise, . public static bool TryResolveExecutableAsShell(string name, out string fullPath) { // First check if we can find the file in the registry