5 types derived from CommandLineBuilder
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (1)
18public class CommandLineBuilderExtension : CommandLineBuilder
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (1)
18public class CommandLineBuilderExtension : CommandLineBuilder
Microsoft.Build.Tasks.Core (1)
CommandLineBuilderExtension.cs (1)
19public class CommandLineBuilderExtension : CommandLineBuilder
Microsoft.Build.Tasks.UnitTests (1)
ResourceHandling\GenerateResource_Tests.cs (1)
4322internal sealed class CommandLineBuilderHelper : CommandLineBuilder
Microsoft.Build.Utilities.UnitTests (1)
CommandLineBuilder_Tests.cs (1)
462internal sealed class TestCommandLineBuilder : CommandLineBuilder
38 instantiations of CommandLineBuilder
Microsoft.Build.Utilities.Core (2)
TrackedDependencies\FileTracker.cs (2)
610CommandLineBuilder builder = new CommandLineBuilder(); 640CommandLineBuilder builder = new CommandLineBuilder();
Microsoft.Build.Utilities.UnitTests (33)
CommandLineBuilder_Tests.cs (33)
27CommandLineBuilder c = new CommandLineBuilder(); 41CommandLineBuilder c = new CommandLineBuilder(); 54CommandLineBuilder c = new CommandLineBuilder(); 67CommandLineBuilder c = new CommandLineBuilder(); 83CommandLineBuilder c = new CommandLineBuilder(); 96CommandLineBuilder c = new CommandLineBuilder(); 109CommandLineBuilder c = new CommandLineBuilder(); 125CommandLineBuilder c = new CommandLineBuilder(); 140CommandLineBuilder c = new CommandLineBuilder(); 153CommandLineBuilder c = new CommandLineBuilder(); 168CommandLineBuilder c = new CommandLineBuilder(); 183CommandLineBuilder c = new CommandLineBuilder(); 196CommandLineBuilder c = new CommandLineBuilder(); 210CommandLineBuilder c = new CommandLineBuilder(); 224CommandLineBuilder c = new CommandLineBuilder(); 238CommandLineBuilder c = new CommandLineBuilder(); 252CommandLineBuilder c = new CommandLineBuilder(); 268CommandLineBuilder c = new CommandLineBuilder(); 287CommandLineBuilder c = new CommandLineBuilder(); 299CommandLineBuilder c = new CommandLineBuilder(); 310CommandLineBuilder c = new CommandLineBuilder(); 321CommandLineBuilder c = new CommandLineBuilder(); 332CommandLineBuilder c = new CommandLineBuilder(); 343CommandLineBuilder c = new CommandLineBuilder(); 354CommandLineBuilder c = new CommandLineBuilder(); 366CommandLineBuilder c = new CommandLineBuilder(); 377CommandLineBuilder c = new CommandLineBuilder(); 388CommandLineBuilder c = new CommandLineBuilder(/* do not quote hyphens*/); 399CommandLineBuilder c = new CommandLineBuilder(true /* quote hyphens*/); 410CommandLineBuilder c = new CommandLineBuilder(true); 421CommandLineBuilder c = new CommandLineBuilder(true); 435CommandLineBuilder c = new CommandLineBuilder(); 443CommandLineBuilder c = new CommandLineBuilder(quoteHyphensOnCommandLine: false, useNewLineSeparator: true);
Microsoft.DotNet.Build.Tasks.Workloads (1)
Wix\WixToolTaskBase.cs (1)
25} = new CommandLineBuilder();
Microsoft.NET.Build.Containers (1)
Tasks\CreateNewImageToolTask.cs (1)
115CommandLineBuilder builder = new();
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\MsDeploy\MSDeploy.cs (1)
966Utilities.CommandLineBuilder commandLine = new();
57 references to CommandLineBuilder
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (2)
119/// Appends a switch with a value that is force quoted. This will quote as if <see cref="CommandLineBuilder.IsQuotingRequired(string)"/> 137/// Appends a switch with a value that is force quoted. This will quote as if <see cref="CommandLineBuilder.IsQuotingRequired(string)"/>
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Core\MSBuildTask\CommandLineBuilderExtension.cs (2)
119/// Appends a switch with a value that is force quoted. This will quote as if <see cref="CommandLineBuilder.IsQuotingRequired(string)"/> 137/// Appends a switch with a value that is force quoted. This will quote as if <see cref="CommandLineBuilder.IsQuotingRequired(string)"/>
Microsoft.Build.Utilities.Core (2)
TrackedDependencies\FileTracker.cs (2)
610CommandLineBuilder builder = new CommandLineBuilder(); 640CommandLineBuilder builder = new CommandLineBuilder();
Microsoft.Build.Utilities.UnitTests (34)
CommandLineBuilder_Tests.cs (34)
27CommandLineBuilder c = new CommandLineBuilder(); 41CommandLineBuilder c = new CommandLineBuilder(); 54CommandLineBuilder c = new CommandLineBuilder(); 67CommandLineBuilder c = new CommandLineBuilder(); 83CommandLineBuilder c = new CommandLineBuilder(); 96CommandLineBuilder c = new CommandLineBuilder(); 109CommandLineBuilder c = new CommandLineBuilder(); 125CommandLineBuilder c = new CommandLineBuilder(); 140CommandLineBuilder c = new CommandLineBuilder(); 153CommandLineBuilder c = new CommandLineBuilder(); 168CommandLineBuilder c = new CommandLineBuilder(); 183CommandLineBuilder c = new CommandLineBuilder(); 196CommandLineBuilder c = new CommandLineBuilder(); 210CommandLineBuilder c = new CommandLineBuilder(); 224CommandLineBuilder c = new CommandLineBuilder(); 238CommandLineBuilder c = new CommandLineBuilder(); 252CommandLineBuilder c = new CommandLineBuilder(); 268CommandLineBuilder c = new CommandLineBuilder(); 287CommandLineBuilder c = new CommandLineBuilder(); 299CommandLineBuilder c = new CommandLineBuilder(); 310CommandLineBuilder c = new CommandLineBuilder(); 321CommandLineBuilder c = new CommandLineBuilder(); 332CommandLineBuilder c = new CommandLineBuilder(); 343CommandLineBuilder c = new CommandLineBuilder(); 354CommandLineBuilder c = new CommandLineBuilder(); 366CommandLineBuilder c = new CommandLineBuilder(); 377CommandLineBuilder c = new CommandLineBuilder(); 388CommandLineBuilder c = new CommandLineBuilder(/* do not quote hyphens*/); 399CommandLineBuilder c = new CommandLineBuilder(true /* quote hyphens*/); 410CommandLineBuilder c = new CommandLineBuilder(true); 421CommandLineBuilder c = new CommandLineBuilder(true); 435CommandLineBuilder c = new CommandLineBuilder(); 443CommandLineBuilder c = new CommandLineBuilder(quoteHyphensOnCommandLine: false, useNewLineSeparator: true); 492public static void ShouldBe(this CommandLineBuilder commandLineBuilder, string expected)
Microsoft.DotNet.Build.Tasks.Workloads (4)
Wix\CommandLineBuilderExtensions.cs (3)
9/// <see cref="CommandLineBuilder"/> extension methods. 19public static void AppendArrayIfNotNull(this CommandLineBuilder builder, string switchName, string[] values) 36public static void AppendSwitchIfTrue(this CommandLineBuilder builder, string switchName, bool value)
Wix\WixToolTaskBase.cs (1)
22protected CommandLineBuilder CommandLineBuilder
Microsoft.NET.Build.Containers (2)
Tasks\CreateNewImageToolTask.cs (2)
115CommandLineBuilder builder = new(); 235void AppendSwitchIfNotNullSanitized(CommandLineBuilder builder, string commandArgName, string propertyName, ITaskItem[] value)
Microsoft.NET.Sdk.Publish.Tasks (11)
Tasks\MsDeploy\MSDeploy.cs (11)
593public static void AddReplaceRulesToOptions(Utilities.CommandLineBuilder commandLineBuilder, Framework.ITaskItem[]? replaceRuleItems, string? valueQuoteChar) 608public static void AddSkipDirectiveToBaseOptions(Utilities.CommandLineBuilder commandLineBuilder, Framework.ITaskItem[]? skipRuleItems, string? valueQuoteChar) 672public static void AddDeclareParametersOptions(Utilities.CommandLineBuilder commandLineBuilder, Framework.ITaskItem[]? originalItems, string? valueQuote, bool foptimisticParameterDefaultValue) 688public static void AddImportDeclareParametersFilesOptions(Utilities.CommandLineBuilder commandLineBuilder, Framework.ITaskItem[]? items) 693public static void AddImportSetParametersFilesOptions(Utilities.CommandLineBuilder commandLineBuilder, Framework.ITaskItem[]? items) 698internal static void AddImportParametersFilesOptions(Utilities.CommandLineBuilder commandLineBuilder, string parameterFlag, Framework.ITaskItem[]? items) 718public static void AddSimpleSetParametersToObject(Utilities.CommandLineBuilder commandLineBuilder, Framework.ITaskItem[]? originalItems, string? valueQuoteChar, bool foptimisticParameterDefaultValue) 748public static void AddSetParametersToObject(Utilities.CommandLineBuilder commandLineBuilder, Framework.ITaskItem[]? originalItems, string? valueQuote, bool foptimisticParameterDefaultValue) 821public static void AddDestinationProviderSettingToObject(Utilities.CommandLineBuilder commandLineBuilder, string? dest, Framework.ITaskItem[]? items, string? valueQuoteChar, 914private static void GenerateSwitchPerItem(Utilities.CommandLineBuilder commandLine, string strSwitch, string? args) 966Utilities.CommandLineBuilder commandLine = new();