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