8 writes to HealthReports
Aspire.Dashboard (1)
ServiceClient\Partials.cs (1)
44
HealthReports
= HealthReports.Select(ToHealthReportViewModel).OrderBy(vm => vm.Name).ToImmutableArray(),
Aspire.Dashboard.Components.Tests (4)
Controls\ResourceDetailsTests.cs (1)
1004
HealthReports
= [],
Layout\ResourcesLayoutTests.cs (1)
552
HealthReports
= []
Pages\ResourcesTests.cs (1)
1071
HealthReports
= healthReports ?? [],
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
53
HealthReports
= healthReports ?? (reportHealthStatus is null && !createNullHealthReport ? [] : [new HealthReportViewModel("healthcheck", reportHealthStatus, null, null)]),
Aspire.Dashboard.Playwright.Tests (2)
Integration\Playwright\ResourcePaneResponsiveTests.cs (1)
2842
HealthReports
= health is { } status ? [new("Synthetic fixture check", status, null, null)] : []
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
53
HealthReports
= healthReports ?? (reportHealthStatus is null && !createNullHealthReport ? [] : [new HealthReportViewModel("healthcheck", reportHealthStatus, null, null)]),
Aspire.Dashboard.Tests (1)
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
53
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)
200
resource.
HealthReports
.OrderBy(r => r.Name, StringComparer.OrdinalIgnoreCase).ToList();
Model\TelemetryExportService.cs (2)
755
HealthReports = resource.
HealthReports
.Length > 0
756
? resource.
HealthReports
.OrderBy(h => h.Name).ToDistinctDictionary(
Aspire.Dashboard.Tests (1)
Model\SqliteResourceRepositoryTests.cs (1)
504
Assert.Equal("ready", Assert.Single(actual.
HealthReports
).Name);