19 references to OwnedTree
aspire (9)
DotNet\ProcessExecution.cs (1)
26? ChildProcessLifetime.OwnedTree
Layout\LayoutProcessRunner.cs (2)
33Lifetime = ChildProcessLifetime.OwnedTree, 78effectiveOptions.Lifetime = ChildProcessLifetime.OwnedTree;
Projects\GuestAppHostProject.cs (1)
1033Lifetime = ChildProcessLifetime.OwnedTree,
Projects\ProcessGuestLauncher.cs (1)
134Lifetime = ChildProcessLifetime.OwnedTree,
src\Shared\ChildProcess.cs (4)
57if (options.Detached && options.Lifetime == ChildProcessLifetime.OwnedTree) 61_isSupervisor = options.Lifetime == ChildProcessLifetime.OwnedTree || 122if (_options.Lifetime == ChildProcessLifetime.OwnedTree) 574if (_options.Lifetime == ChildProcessLifetime.OwnedTree && !process.HasExited)
Aspire.Cli.Tests (10)
DotNet\OwnedProcessExecutionTests.cs (1)
32Lifetime = parentExitOptIn ? ChildProcessLifetime.CallerManaged : ChildProcessLifetime.OwnedTree,
DotNet\ProcessExecutionTests.cs (1)
209Lifetime = ownedTree ? Aspire.Shared.ChildProcessLifetime.OwnedTree : Aspire.Shared.ChildProcessLifetime.AppHost,
Layout\LayoutProcessRunnerTests.cs (2)
40Assert.Equal(ChildProcessLifetime.OwnedTree, capturedOptions.Lifetime); 90Assert.Equal(ChildProcessLifetime.OwnedTree, capturedOptions.Lifetime);
tests\Shared\Processes\ChildProcessTests.cs (5)
157Lifetime = ChildProcessLifetime.OwnedTree, 189Lifetime = ChildProcessLifetime.OwnedTree, 234Lifetime = ChildProcessLifetime.OwnedTree, 281Lifetime = ownedTree ? ChildProcessLifetime.OwnedTree : ChildProcessLifetime.CallerManaged, 345Lifetime = ownedTree ? ChildProcessLifetime.OwnedTree : ChildProcessLifetime.AppHost,
tests\Shared\Processes\ProcessSupervisorTests.cs (1)
53Lifetime = ChildProcessLifetime.OwnedTree,