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