8 implementations of HasExited
aspire (1)
DotNet\ProcessExecution.cs (1)
80public bool HasExited => Process.HasExited;
Aspire.Cli.Tests (7)
Commands\AppHostLauncherTests.cs (3)
1601public bool HasExited => Inner.HasExited; 1640public bool HasExited => exitMonitorProcess?.HasExited ?? process.HasExited; 1713public bool HasExited => false;
Commands\StartCommandTests.cs (1)
749public bool HasExited => true;
DotNet\DotNetCliRunnerTests.cs (1)
2744public bool HasExited => _started;
Telemetry\InternalMicrosoftDetectorTests.cs (1)
1852public bool HasExited => false;
TestServices\TestProcessExecutionFactory.cs (1)
173public bool HasExited
27 references to HasExited
aspire (23)
Commands\AppHostLauncher.cs (4)
284if (result.ChildProcess is { HasExited: false } childProcess) 297catch (OperationCanceledException) when (!childProcess.HasExited) 509if (childProcess.HasExited) 563if (childProcess.HasExited)
Commands\DashboardRunCommand.cs (5)
457if (!process.HasExited) 470if (process.HasExited) 483var exitMessage = process.HasExited 489if (!process.HasExited) 507if (!process.HasExited)
DotNet\DotNetCliRunner.cs (1)
544catch (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)
354if (!_dashboardProcess.HasExited)
Projects\AppHostServerSession.cs (4)
119public bool? HasServerExited => _execution?.HasExited; 127if (_execution is not { HasExited: true } execution) 281completion.TrySetResult(execution.HasExited ? execution.ExitCode : -1); 412if (_execution is { HasExited: true } execution)
Projects\IAppHostServerProject.cs (1)
32/// (<see cref="IProcessExecution.HasExited"/>, <see cref="IProcessExecution.ExitCode"/>,
Projects\ProcessGuestLauncher.cs (1)
175finalExitCode = execution.HasExited ? execution.ExitCode : -1;
Utils\EnvironmentChecker\DcpConnectionChecker.cs (4)
289if (processStarted && !process.HasExited) 294catch (InvalidOperationException) when (process.HasExited) 355if (!_process.HasExited) 385if (_process.HasExited)
Utils\EnvironmentChecker\DevCertsCheck.cs (1)
468if (!process.HasExited)
Aspire.Cli.Tests (4)
Commands\AppHostLauncherTests.cs (1)
1601public bool HasExited => Inner.HasExited;
DotNet\ProcessExecutionDetachedTests.cs (3)
119if (!detachedProcess.HasExited) 196if (detachedProcess is { HasExited: false }) 294Assert.True(detachedProcess.HasExited);