1 type derived from ToolCommand
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\DotNetCommand.cs (1)
8
public class DotNetCommand :
ToolCommand
3 instantiations of ToolCommand
Aspire.EndToEnd.Tests (3)
tests\Shared\WorkloadTesting\AspireProject.cs (3)
407
using var cmd = new
ToolCommand
("docker", testOutput!, "container-list");
425
using var cmd = new
ToolCommand
("docker", testOutput, label: "container-list")
438
using var cmd = new
ToolCommand
("docker", testOutput, label: component)
12 references to ToolCommand
Aspire.EndToEnd.Tests (12)
tests\Shared\WorkloadTesting\AspireProject.cs (5)
306
using
var
restoreCmd = new DotNetCommand(_testOutput, buildEnv: _buildEnv, label: "restore")
316
using
var
buildCmd = new DotNetCommand(_testOutput, buildEnv: _buildEnv, label: "build")
407
using
var
cmd = new ToolCommand("docker", testOutput!, "container-list");
425
using
var
cmd = new ToolCommand("docker", testOutput, label: "container-list")
438
using
var
cmd = new ToolCommand("docker", testOutput, label: component)
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (1)
103
using
var
cmd = new ToolCommand(dotnet,
tests\Shared\WorkloadTesting\ToolCommand.cs (6)
37
public
ToolCommand
WithWorkingDirectory(string dir)
43
public
ToolCommand
WithEnvironmentVariable(string key, string value)
49
public
ToolCommand
WithEnvironmentVariables(IDictionary<string, string>? extraEnvVars)
62
public
ToolCommand
WithOutputDataReceived(Action<string?> handler)
68
public
ToolCommand
WithErrorDataReceived(Action<string?> handler)
74
public
ToolCommand
WithTimeout(TimeSpan timeSpan)