7 writes to Lifetime
Aspire.Hosting.RemoteHost (1)
Language\IntegrationHostProcessLauncher.cs (1)
58
Lifetime
= ChildProcessLifetime.OwnedTree,
Aspire.Hosting.RemoteHost.Tests (6)
tests\Shared\Processes\ChildProcessTests.cs (5)
158
Lifetime
= ChildProcessLifetime.OwnedTree,
190
Lifetime
= ChildProcessLifetime.OwnedTree,
235
Lifetime
= ChildProcessLifetime.OwnedTree,
282
Lifetime
= ownedTree ? ChildProcessLifetime.OwnedTree : ChildProcessLifetime.CallerManaged,
347
Lifetime
= ownedTree ? ChildProcessLifetime.OwnedTree : ChildProcessLifetime.AppHost,
tests\Shared\Processes\ProcessSupervisorTests.cs (1)
54
Lifetime
= ChildProcessLifetime.OwnedTree,
6 references to Lifetime
Aspire.Hosting.RemoteHost (5)
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)
Aspire.Hosting.RemoteHost.Tests (1)
IntegrationHostProcessLauncherTests.cs (1)
109
Assert.Equal(ChildProcessLifetime.OwnedTree, options.
Lifetime
);