1 implementation of Add
Microsoft.Extensions.Diagnostics.HealthChecks (1)
DependencyInjection\HealthChecksBuilder.cs (1)
19public IHealthChecksBuilder Add(HealthCheckRegistration registration)
54 references to Add
Aspire.Azure.AI.OpenAI (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Azure.Data.Tables (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Azure.Messaging.EventHubs (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Azure.Messaging.ServiceBus (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Azure.Messaging.WebPubSub (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Azure.Search.Documents (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Azure.Security.KeyVault (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Azure.Storage.Blobs (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Azure.Storage.Queues (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Confluent.Kafka (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Elastic.Clients.Elasticsearch (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
75.Add(new HealthCheckRegistration(
Aspire.Hosting.Kafka (1)
KafkaBuilderExtensions.cs (1)
71builder.Services.AddHealthChecks().Add(healthCheckRegistration);
Aspire.Hosting.Nats (1)
NatsBuilderExtensions.cs (1)
56.Add(new HealthCheckRegistration(
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
61.Add(new HealthCheckRegistration(
Aspire.Microsoft.Data.SqlClient (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Milvus.Client (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.MongoDB.Driver (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.MySqlConnector (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.NATS.Net (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Npgsql (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Oracle.EntityFrameworkCore (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Pomelo.EntityFrameworkCore.MySql (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.RabbitMQ.Client (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.Seq (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Aspire.StackExchange.Redis (1)
src\Components\Common\HealthChecksExtensions.cs (1)
17builder.TryAddHealthCheck(healthCheckRegistration.Name, hcBuilder => hcBuilder.Add(healthCheckRegistration));
Microsoft.Extensions.Diagnostics.HealthChecks (8)
DependencyInjection\HealthChecksBuilderAddCheckExtensions.cs (4)
66return builder.Add(new HealthCheckRegistration(name, instance, failureStatus, tags, timeout)); 126return builder.Add(new HealthCheckRegistration(name, GetServiceOrCreateInstance, failureStatus, tags, timeout)); 216return builder.Add(new HealthCheckRegistration(name, CreateInstance, failureStatus, tags)); 254return builder.Add(new HealthCheckRegistration(name, CreateInstance, failureStatus, tags, timeout));
DependencyInjection\HealthChecksBuilderDelegateExtensions.cs (4)
59return builder.Add(new HealthCheckRegistration(name, instance, failureStatus: null, tags, timeout)); 102return builder.Add(new HealthCheckRegistration(name, instance, failureStatus: null, tags, timeout)); 145return builder.Add(new HealthCheckRegistration(name, instance, failureStatus: null, tags, timeout)); 188return builder.Add(new HealthCheckRegistration(name, instance, failureStatus: null, tags, timeout));
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (18)
HealthCheckPublisherHostedServiceTest.cs (18)
248b.Add( 255b.Add( 267b.Add( 279b.Add( 291b.Add( 307b.Add( 319b.Add( 331b.Add( 343b.Add( 523b.Add( 530b.Add( 542b.Add( 554b.Add( 566b.Add( 582b.Add( 594b.Add( 606b.Add( 618b.Add(