Skip to content

Commit bf22623

Browse files
Copilottmat
andcommitted
Rename partial CommandParser classes to CommandImplementation
Changed all partial class declarations with Parser suffix to non-partial classes with Implementation suffix. This separates the parser interface from implementation details. Note: This commit only updates class definitions, not usage sites. Co-authored-by: tmat <[email protected]>
1 parent 7fb96d2 commit bf22623

32 files changed

+32
-32
lines changed

src/Cli/dotnet/Commands/Build/BuildCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.DotNet.Cli.Commands.Build;
99

10-
internal static partial class BuildCommandParser
10+
internal static class BuildCommandImplementation
1111
{
1212
public static readonly string DocsLink = "https://aka.ms/dotnet-build";
1313

src/Cli/dotnet/Commands/BuildServer/BuildServerCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace Microsoft.DotNet.Cli.Commands.BuildServer;
1111

12-
internal static partial class BuildServerCommandParser
12+
internal static class BuildServerCommandImplementation
1313
{
1414
public static readonly string DocsLink = "https://aka.ms/dotnet-build-server";
1515

src/Cli/dotnet/Commands/Clean/CleanCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.DotNet.Cli.Commands.Clean;
99

10-
internal static partial class CleanCommandParser
10+
internal static class CleanCommandImplementation
1111
{
1212
public static readonly string DocsLink = "https://aka.ms/dotnet-clean";
1313

src/Cli/dotnet/Commands/Dnx/DnxCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.DotNet.Cli.Commands.Dnx;
99

10-
internal static partial class DnxCommandParser
10+
internal static class DnxCommandImplementation
1111
{
1212

1313
public static Command CreateCommandDefinition()

src/Cli/dotnet/Commands/Format/FormatCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.DotNet.Cli.Commands.Format;
99

10-
internal static partial class FormatCommandParser
10+
internal static class FormatCommandImplementation
1111
{
1212
public static readonly Argument<string[]> Arguments = new("arguments");
1313

src/Cli/dotnet/Commands/Fsi/FsiCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.DotNet.Cli.Commands.Fsi;
99

10-
internal static partial class FsiCommandParser
10+
internal static class FsiCommandImplementation
1111
{
1212
public static readonly string DocsLink = "https://aka.ms/dotnet-fsi";
1313

src/Cli/dotnet/Commands/Help/HelpCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.DotNet.Cli.Commands.Help;
99

10-
internal static partial class HelpCommandParser
10+
internal static class HelpCommandImplementation
1111
{
1212
public static readonly string DocsLink = "https://aka.ms/dotnet-help";
1313

src/Cli/dotnet/Commands/Hidden/Add/AddCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace Microsoft.DotNet.Cli.Commands.Hidden.Add;
1111

12-
internal static partial class AddCommandParser
12+
internal static class AddCommandImplementation
1313
{
1414
public static readonly string DocsLink = "https://aka.ms/dotnet-add";
1515

src/Cli/dotnet/Commands/Hidden/Complete/CompleteCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.DotNet.Cli.Commands.Hidden.Complete;
99

10-
internal static partial class CompleteCommandParser
10+
internal static class CompleteCommandImplementation
1111
{
1212
public static readonly Argument<string> PathArgument = new("path");
1313

src/Cli/dotnet/Commands/Hidden/InternalReportInstallSuccess/InternalReportInstallSuccessCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.DotNet.Cli.Commands.Hidden.InternalReportInstallSuccess;
99

10-
internal static partial class InternalReportInstallSuccessCommandParser
10+
internal static class InternalReportInstallSuccessCommandImplementation
1111
{
1212
public static readonly Argument<string> Argument = new("internal-reportinstallsuccess-arg");
1313

0 commit comments

Comments
 (0)