1 write to Entries
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (1)
HealthReport.cs (1)
35Entries = entries;
32 references to Entries
Aspire.Components.Common.Tests (2)
ConformanceTests.cs (2)
318Assert.NotEmpty(healthReport.Entries); 319Assert.Contains(healthReport.Entries, entry => entry.Value.Status == expected);
Aspire.Elastic.Clients.Elasticsearch.Tests (1)
AspireElasticClientExtensionsTest.cs (1)
63Assert.Contains(healthCheckReport.Entries, x => x.Key == healthCheckName);
Aspire.Hosting (2)
Health\ResourceHealthCheckService.cs (2)
102foreach (var (key, value) in report.Entries) 161foreach (var (key, entry) in report.Entries)
Aspire.Milvus.Client.Tests (1)
AspireMilvusExtensionTests.cs (1)
141Assert.Contains(healthCheckReport.Entries, x => x.Key == healthCheckName);
Aspire.MongoDB.Driver.Tests (2)
AspireMongoDBDriverExtensionsTests.cs (2)
138Assert.Contains(healthCheckReport.Entries, x => x.Key == healthCheckName); 182Assert.Contains(healthCheckReport.Entries, x => x.Key == healthCheckName);
Aspire.NATS.Net.Tests (1)
AspireNatsClientExtensionsTests.cs (1)
175Assert.Contains(healthCheckReport.Entries, x => x.Key == healthCheckName);
Aspire.Qdrant.Client.Tests (1)
AspireQdrantClientExtensionsTest.cs (1)
55Assert.Contains(healthCheckReport.Entries, x => x.Key == healthCheckName);
HealthChecksSample (1)
CustomWriterStartup.cs (1)
47new JProperty("results", new JObject(result.Entries.Select(pair =>
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
TelemetryHealthCheckPublisher.cs (1)
59foreach (var entry in report.Entries)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (20)
DefaultHealthCheckServiceTest.cs (14)
84results.Entries.OrderBy(kvp => kvp.Key), 138results.Entries.OrderBy(kvp => kvp.Key), 186Assert.Collection(results.Entries, 220results.Entries, 292results.Entries, 350Assert.Collection(results.Entries, actual => 373results.Entries, 397results.Entries, 423results.Entries, 453var healthCheck = (DisposableDependeciesCheck)results.Entries.Single().Value.Data.Single().Value; 477results.Entries, 520Assert.Collection((await checkHealthTask).Entries, 551results.Entries, 608results.Entries,
HealthCheckPublisherHostedServiceTest.cs (6)
211Assert.Equal(new[] { "one", "two", }, report.Entries.Keys.OrderBy(k => k)); 370Assert.Equal("CheckDefault", Assert.Single(Assert.Single(publisher.Entries).report.Entries.Keys)); 386var entries = publisher.Entries.SelectMany(e => e.report.Entries.Select(e2 => e2.Key)).OrderBy(k => k).ToArray(); 435Assert.Equal(new[] { "one", "two", }, report.Entries.Keys.OrderBy(k => k)); 641var entries = publishers[i].Entries.SelectMany(e => e.report.Entries.Select(e2 => e2.Key)).OrderBy(k => k).ToArray(); 657var entries = publishers[i].Entries.SelectMany(e => e.report.Entries.Select(e2 => e2.Key)).OrderBy(k => k).ToArray();