6 writes to HealthReports
Aspire.Dashboard (1)
ServiceClient\Partials.cs (1)
43
HealthReports
= HealthReports.Select(ToHealthReportViewModel).OrderBy(vm => vm.Name).ToImmutableArray(),
Aspire.Dashboard.Components.Tests (3)
Controls\ResourceDetailsTests.cs (1)
1006
HealthReports
= [],
Pages\ResourcesTests.cs (1)
993
HealthReports
= healthReports ?? [],
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
49
HealthReports
= healthReports ?? (reportHealthStatus is null && !createNullHealthReport ? [] : [new HealthReportViewModel("healthcheck", reportHealthStatus, null, null)]),
Aspire.Dashboard.Playwright.Tests (1)
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
49
HealthReports
= healthReports ?? (reportHealthStatus is null && !createNullHealthReport ? [] : [new HealthReportViewModel("healthcheck", reportHealthStatus, null, null)]),
Aspire.Dashboard.Tests (1)
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
49
HealthReports
= healthReports ?? (reportHealthStatus is null && !createNullHealthReport ? [] : [new HealthReportViewModel("healthcheck", reportHealthStatus, null, null)]),
6 references to HealthReports
Aspire.Dashboard (5)
Components\Controls\ResourceDetails.razor.cs (2)
104
Resource.
HealthReports
176
_isHealthChecksExpanded = _resource.
HealthReports
.Any() || _resource.HealthStatus is null; // null means we're waiting for health reports
Components\Pages\ResourceOverview.Details.cs (1)
188
resource.
HealthReports
.OrderBy(r => r.Name, StringComparer.OrdinalIgnoreCase).ToList();
Model\TelemetryExportService.cs (2)
754
HealthReports = resource.
HealthReports
.Length > 0
755
? resource.
HealthReports
.OrderBy(h => h.Name).ToDistinctDictionary(
Aspire.Dashboard.Tests (1)
Model\SqliteResourceRepositoryTests.cs (1)
503
Assert.Equal("ready", Assert.Single(actual.
HealthReports
).Name);