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)
23await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("output", "0"), new ChildProcessOptions()); 39new ChildProcessOptions 70new ChildProcessOptions 110await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new ChildProcessOptions()); 120await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new ChildProcessOptions()); 136await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new ChildProcessOptions()); 156new ChildProcessOptions 188new ChildProcessOptions 233new ChildProcessOptions 280new ChildProcessOptions 345new ChildProcessOptions 413new ChildProcessOptions 461new ChildProcessOptions { Detached = true });
tests\Shared\Processes\ProcessSupervisorTests.cs (6)
52await using var process = ProcessTestFixture.CreateProcess(startInfo, new ChildProcessOptions 78new ChildProcessOptions { StandardErrorCallback = stderr.Enqueue }); 101fixture.CreateStartInfo("tree", readiness.Name)), new ChildProcessOptions()); 120fixture.CreateStartInfo("tree", readiness.Name)), new ChildProcessOptions()); 139fixture.CreateStartInfo("tree", readiness.Name)), new ChildProcessOptions()); 164await 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)
131internal static ChildProcess CreateProcess(ProcessStartInfo startInfo, ChildProcessOptions options) => 134internal 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)