16 references to ChildProcessLifetime
Aspire.Hosting.RemoteHost (7)
Language\IntegrationHostProcessLauncher.cs (1)
58
Lifetime =
ChildProcessLifetime
.OwnedTree,
src\Shared\ChildProcess.cs (5)
57
if (options.Detached && options.Lifetime ==
ChildProcessLifetime
.OwnedTree)
61
_isSupervisor = options.Lifetime ==
ChildProcessLifetime
.OwnedTree ||
122
if (_options.Lifetime ==
ChildProcessLifetime
.OwnedTree)
365
&& _options.Lifetime ==
ChildProcessLifetime
.AppHost
574
if (_options.Lifetime ==
ChildProcessLifetime
.OwnedTree && !process.HasExited)
src\Shared\ChildProcessOptions.cs (1)
27
public
ChildProcessLifetime
Lifetime { get; init; }
Aspire.Hosting.RemoteHost.Tests (9)
IntegrationHostProcessLauncherTests.cs (1)
109
Assert.Equal(
ChildProcessLifetime
.OwnedTree, options.Lifetime);
tests\Shared\Processes\ChildProcessTests.cs (7)
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,