56 references to Name
Aspire.Azure.AI.OpenAI (1)
Aspire.Azure.Data.Tables (1)
Aspire.Azure.Messaging.EventHubs (1)
Aspire.Azure.Messaging.ServiceBus (1)
Aspire.Azure.Messaging.WebPubSub (1)
Aspire.Azure.Search.Documents (1)
Aspire.Azure.Security.KeyVault (1)
Aspire.Azure.Storage.Blobs (1)
Aspire.Azure.Storage.Queues (1)
Aspire.Components.Common.Tests (1)
Aspire.Confluent.Kafka (1)
Aspire.Elastic.Clients.Elasticsearch (1)
Aspire.Hosting (1)
Aspire.Microsoft.Data.SqlClient (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
Aspire.Milvus.Client (1)
Aspire.MongoDB.Driver (1)
Aspire.MySqlConnector (1)
Aspire.NATS.Net (1)
Aspire.Npgsql (1)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (1)
Aspire.Oracle.EntityFrameworkCore (1)
Aspire.Pomelo.EntityFrameworkCore.MySql (1)
Aspire.Qdrant.Client (1)
Aspire.RabbitMQ.Client (1)
Aspire.Seq (1)
Aspire.StackExchange.Redis (1)
HealthChecksSample (1)
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (2)
Microsoft.Extensions.Diagnostics.HealthChecks (10)
DefaultHealthCheckService.cs (10)
65entries[registration.Name] = tasks[index++].Result;
85using (_logger.BeginScope(new HealthCheckLogScope(registration.Name)))
90Log.HealthCheckBegin(_logger, registration.Name);
169if (!distinctRegistrations.Add(registration.Name))
173builder.Append(registration.Name).Append(", ");
238HealthCheckEndHealthy(logger, registration.Name, entry.Status, duration.TotalMilliseconds, entry.Description);
242HealthCheckEndDegraded(logger, registration.Name, entry.Status, duration.TotalMilliseconds, entry.Description, entry.Exception);
246HealthCheckEndUnhealthy(logger, registration.Name, entry.Status, duration.TotalMilliseconds, entry.Description, entry.Exception);
255HealthCheckError(logger, registration.Name, duration.TotalMilliseconds, exception);
264new HealthCheckDataLogValue(registration.Name, entry.Data),
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (2)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (14)
DependencyInjection\HealthChecksBuilderTest.cs (10)
36Assert.Equal("test", registration.Name);
56Assert.Equal("test", registration.Name);
79Assert.Equal("test", registration.Name);
101Assert.Equal("test", registration.Name);
127Assert.Equal("test", registration.Name);
150Assert.Equal("test", registration.Name);
173Assert.Equal("test", registration.Name);
196Assert.Equal("test", registration.Name);
219actual => Assert.Equal("Foo", actual.Name),
220actual => Assert.Equal("Bar", actual.Name));