3 instantiations of Command
dotnet (1)
CommandFactory\CommandFactoryUsingResolver.cs (1)
123return new Command(_process, customEnvironmentVariables: commandSpec.EnvironmentVariables);
dotnet-new.IntegrationTests (1)
CommonTemplatesTests.cs (1)
159new Command(process)
Microsoft.NET.TestFramework (1)
Commands\SdkCommandSpec.cs (1)
35var ret = new Command(process, trimTrailingNewlines: true);
16 references to Command
ArgumentForwarding.Tests (1)
ArgumentForwardingTests.cs (1)
193var cmd = CommandFactoryUsingResolver.Create(s_reflectorCmdName, rawEvaluatedArgument);
dotnet (10)
CommandFactory\CommandFactoryUsingResolver.cs (6)
17public static Command CreateDotNet( 37public static Command Create( 57public static Command Create( 81public static Command CreateOrThrow(string commandName, CommandSpec? commandSpec) 95var command = Create(commandSpec); 101public static Command Create(CommandSpec commandSpec)
Commands\Run\Api\RunApiCommand.cs (2)
114var targetCommand = (Utils.Command)runCommand.GetTargetCommand(buildCommand.CreateProjectInstance, cachedRunProperties: null);
Commands\Tool\Execute\ToolExecuteCommand.cs (1)
136var command = CommandFactoryUsingResolver.Create(commandSpec);
Program.cs (1)
270var resolvedCommand = CommandFactoryUsingResolver.CreateOrThrow(commandName, resolvedCommandSpec);
Microsoft.DotNet.Cli.Utils (2)
Command.cs (2)
48Reporter.Verbose.WriteLine($"> {Command.FormatProcessInfo(_process.StartInfo)}".White()); 76Command.FormatProcessInfo(_process.StartInfo),
Microsoft.NET.TestFramework (3)
Commands\SdkCommandSpec.cs (2)
29public Command ToCommand(bool doNotEscapeArguments = false) 35var ret = new Command(process, trimTrailingNewlines: true);
Commands\TestCommand.cs (1)
176var result = ((Command)command).Execute(ProcessStartedHandler);