5 writes to HealthReports
Aspire.Dashboard (1)
ServiceClient\Partials.cs (1)
44
HealthReports
= HealthReports.Select(ToHealthReportViewModel).OrderBy(vm => vm.Name).ToImmutableArray(),
Aspire.Dashboard.Components.Tests (3)
Controls\ResourceDetailsTests.cs (1)
938
HealthReports
= [],
Pages\ResourcesTests.cs (1)
723
HealthReports
= healthReports ?? [],
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)]),
5 references to HealthReports
Aspire.Dashboard (4)
Components\Controls\ResourceDetails.razor.cs (2)
106
Resource.
HealthReports
180
_isHealthChecksExpanded = _resource.
HealthReports
.Any() || _resource.HealthStatus is null; // null means we're waiting for health reports
Model\TelemetryExportService.cs (2)
752
HealthReports = resource.
HealthReports
.Length > 0
753
? resource.
HealthReports
.OrderBy(h => h.Name).ToDistinctDictionary(
Aspire.Dashboard.Tests (1)
Model\SqliteResourceRepositoryTests.cs (1)
463
Assert.Equal("ready", Assert.Single(actual.
HealthReports
).Name);