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