21 instantiations of ChildProcessOptions
Aspire.Hosting.RemoteHost (2)
Language\IntegrationHostProcessLauncher.cs (1)
56
var execution = processFactory.Create(startInfo, logger, new
ChildProcessOptions
src\Shared\ProcessSupervisor.cs (1)
131
startInfo, logger, new
ChildProcessOptions
{ TerminationTimeout = terminationTimeout }, OperatingSystem.IsWindows());
Aspire.Hosting.RemoteHost.Tests (19)
tests\Shared\Processes\ChildProcessTests.cs (13)
22
await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("output", "0"), new
ChildProcessOptions
());
38
new
ChildProcessOptions
69
new
ChildProcessOptions
109
await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new
ChildProcessOptions
());
119
await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new
ChildProcessOptions
());
135
await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new
ChildProcessOptions
());
155
new
ChildProcessOptions
187
new
ChildProcessOptions
232
new
ChildProcessOptions
279
new
ChildProcessOptions
343
new
ChildProcessOptions
407
new
ChildProcessOptions
455
new
ChildProcessOptions
{ Detached = true });
tests\Shared\Processes\ProcessSupervisorTests.cs (6)
51
await using var process = ProcessTestFixture.CreateProcess(startInfo, new
ChildProcessOptions
77
new
ChildProcessOptions
{ StandardErrorCallback = stderr.Enqueue });
99
fixture.CreateStartInfo("tree", readiness.Name)), new
ChildProcessOptions
());
118
fixture.CreateStartInfo("tree", readiness.Name)), new
ChildProcessOptions
());
137
fixture.CreateStartInfo("tree", readiness.Name)), new
ChildProcessOptions
());
162
await using var owner = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("owner", readiness.Name), new
ChildProcessOptions
());
10 references to ChildProcessOptions
Aspire.Hosting.RemoteHost (4)
src\Shared\ChildProcess.cs (2)
31
private readonly
ChildProcessOptions
_options;
47
ChildProcessOptions
options,
src\Shared\ChildProcessFactory.cs (2)
14
IChildProcess Create(ProcessStartInfo startInfo, ILogger logger,
ChildProcessOptions
options, bool isWindows);
22
public IChildProcess Create(ProcessStartInfo startInfo, ILogger logger,
ChildProcessOptions
options, bool isWindows)
Aspire.Hosting.RemoteHost.Tests (6)
IntegrationHostProcessLauncherTests.cs (2)
108
var
options = Assert.IsType<
ChildProcessOptions
>(factory.Options);
tests\Shared\Processes\ProcessTestFixture.cs (2)
125
internal static ChildProcess CreateProcess(ProcessStartInfo startInfo,
ChildProcessOptions
options) =>
128
internal static ChildProcess CreateProcess(ProcessStartInfo startInfo, ILogger logger,
ChildProcessOptions
options) =>
TestServices\TestIntegrationHostProcessFactory.cs (2)
14
public
ChildProcessOptions
? Options { get; private set; }
22
public IChildProcess Create(ProcessStartInfo startInfo, ILogger logger,
ChildProcessOptions
options, bool isWindows)