8 implementations of HasExited
aspire (1)
DotNet\ProcessExecution.cs (1)
80public bool HasExited => Process.HasExited;
Aspire.Cli.Tests (7)
Commands\AppHostLauncherTests.cs (3)
1436public bool HasExited => Inner.HasExited; 1475public bool HasExited => exitMonitorProcess?.HasExited ?? process.HasExited; 1548public bool HasExited => false;
Commands\StartCommandTests.cs (1)
748public bool HasExited => true;
DotNet\DotNetCliRunnerTests.cs (1)
2695public bool HasExited => _started;
Telemetry\InternalMicrosoftDetectorTests.cs (1)
621public bool HasExited => false;
TestServices\TestProcessExecutionFactory.cs (1)
173public bool HasExited
27 references to HasExited
aspire (23)
Commands\AppHostLauncher.cs (4)
300if (result.ChildProcess is { HasExited: false } childProcess) 313catch (OperationCanceledException) when (!childProcess.HasExited) 549if (childProcess.HasExited) 600if (childProcess.HasExited)
Commands\DashboardRunCommand.cs (5)
438if (!process.HasExited) 451if (process.HasExited) 464var exitMessage = process.HasExited 470if (!process.HasExited) 488if (!process.HasExited)
DotNet\DotNetCliRunner.cs (1)
532catch (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)
180finalExitCode = 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)
1436public bool HasExited => Inner.HasExited;
DotNet\ProcessExecutionDetachedTests.cs (3)
119if (!detachedProcess.HasExited) 196if (detachedProcess is { HasExited: false }) 294Assert.True(detachedProcess.HasExited);