8 implementations of HasExited
aspire (1)
DotNet\ProcessExecution.cs (1)
80
public bool
HasExited
=> Process.HasExited;
Aspire.Cli.Tests (7)
Commands\AppHostLauncherTests.cs (3)
1436
public bool
HasExited
=> Inner.HasExited;
1475
public bool
HasExited
=> exitMonitorProcess?.HasExited ?? process.HasExited;
1548
public bool
HasExited
=> false;
Commands\StartCommandTests.cs (1)
748
public bool
HasExited
=> true;
DotNet\DotNetCliRunnerTests.cs (1)
2695
public bool
HasExited
=> _started;
Telemetry\InternalMicrosoftDetectorTests.cs (1)
621
public bool
HasExited
=> false;
TestServices\TestProcessExecutionFactory.cs (1)
173
public bool
HasExited
27 references to HasExited
aspire (23)
Commands\AppHostLauncher.cs (4)
300
if (result.ChildProcess is {
HasExited
: false } childProcess)
313
catch (OperationCanceledException) when (!childProcess.
HasExited
)
549
if (childProcess.
HasExited
)
600
if (childProcess.
HasExited
)
Commands\DashboardRunCommand.cs (5)
438
if (!process.
HasExited
)
451
if (process.
HasExited
)
464
var exitMessage = process.
HasExited
470
if (!process.
HasExited
)
488
if (!process.
HasExited
)
DotNet\DotNetCliRunner.cs (1)
532
catch (Exception ex) when ((ex is SocketException or RemoteRpcException) && execution is {
HasExited
: true })
DotNet\IProcessExecution.cs (1)
59
/// Gets the exit code of the process. Only valid after <see cref="
HasExited
"/> returns <c>true</c>.
Profiling\ProfileCaptureService.cs (1)
354
if (!_dashboardProcess.
HasExited
)
Projects\AppHostServerSession.cs (4)
119
public bool? HasServerExited => _execution?.
HasExited
;
127
if (_execution is not {
HasExited
: true } execution)
281
completion.TrySetResult(execution.
HasExited
? execution.ExitCode : -1);
412
if (_execution is {
HasExited
: true } execution)
Projects\IAppHostServerProject.cs (1)
32
/// (<see cref="IProcessExecution.
HasExited
"/>, <see cref="IProcessExecution.ExitCode"/>,
Projects\ProcessGuestLauncher.cs (1)
180
finalExitCode = execution.
HasExited
? execution.ExitCode : -1;
Utils\EnvironmentChecker\DcpConnectionChecker.cs (4)
289
if (processStarted && !process.
HasExited
)
294
catch (InvalidOperationException) when (process.
HasExited
)
355
if (!_process.
HasExited
)
385
if (_process.
HasExited
)
Utils\EnvironmentChecker\DevCertsCheck.cs (1)
468
if (!process.
HasExited
)
Aspire.Cli.Tests (4)
Commands\AppHostLauncherTests.cs (1)
1436
public bool HasExited => Inner.
HasExited
;
DotNet\ProcessExecutionDetachedTests.cs (3)
119
if (!detachedProcess.
HasExited
)
196
if (detachedProcess is {
HasExited
: false })
294
Assert.True(detachedProcess.
HasExited
);