7 writes to ExitCode
Aspire.Hosting (3)
Dcp\ApplicationExecutor.cs (3)
601
ExitCode
= container.Status?.ExitCode is null or Conventions.UnknownExitCode ? null : container.Status.ExitCode,
656
ExitCode
= executable.Status?.ExitCode,
674
ExitCode
= executable.Status?.ExitCode,
Aspire.Hosting.Tests (4)
ResourceNotificationTests.cs (1)
374
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with {
ExitCode
= 0 });
WaitForTests.cs (3)
89
ExitCode
= 0
137
ExitCode
= 0
185
ExitCode
= 3 // Exit code does not match expected exit code above intentionally.
3 references to ExitCode
Aspire.Hosting (3)
ApplicationModel\ResourceNotificationService.cs (1)
228
newState.
ExitCode
, string.Join(", ", newState.EnvironmentVariables.Select(e => $"{e.Name} = {e.Value}")), string.Join(", ", newState.Urls.Select(u => $"{u.Name} = {u.Url}")),
Dashboard\DashboardServiceData.cs (1)
43
ExitCode = snapshot.
ExitCode
,
ResourceBuilderExtensions.cs (1)
723
snapshot.
ExitCode
is not null;