2 overrides of CheckHealthAsync
Microsoft.Extensions.Diagnostics.HealthChecks (1)
DefaultHealthCheckService.cs (1)
38public override async Task<HealthReport> CheckHealthAsync(
Microsoft.Extensions.Diagnostics.Probes.Tests (1)
MockHealthCheckService.cs (1)
18public override Task<HealthReport> CheckHealthAsync(Func<HealthCheckRegistration, bool>? predicate, CancellationToken cancellationToken = default)
13 references to CheckHealthAsync
Aspire.Components.Common.TestUtilities (1)
ConformanceTests.cs (1)
163await healthCheckService.CheckHealthAsync(healthCheckRegistration =>
Aspire.Hosting (1)
Health\ResourceHealthCheckService.cs (1)
157report = await healthCheckService.CheckHealthAsync(
Aspire.Hosting.Azure.Tests (1)
AzureCosmosDBExtensionsTests.cs (1)
1215() => healthCheckService.CheckHealthAsync(r => r.Name == "cosmos_check", CancellationToken.None));
Aspire.Hosting.Tests (6)
AtsHealthCheckExportsTests.cs (1)
32var report = await healthCheckService.CheckHealthAsync(registration => registration.Name == "custom_check");
ExternalServiceTests.cs (1)
469var result = await healthCheckService.CheckHealthAsync(
Health\FriendlyHealthCheckErrorMessagesTests.cs (4)
37var result = await healthCheckService.CheckHealthAsync( 77var result = await healthCheckService.CheckHealthAsync( 116var result = await healthCheckService.CheckHealthAsync( 152var result = await healthCheckService.CheckHealthAsync(
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
HealthCheckMiddleware.cs (1)
46var result = await _healthCheckService.CheckHealthAsync(_healthCheckOptions.Predicate, httpContext.RequestAborted);
Microsoft.Extensions.Diagnostics.HealthChecks (2)
HealthCheckPublisherHostedService.cs (1)
192var report = await _healthCheckService.CheckHealthAsync(withOptionsPredicate, cancellationToken).ConfigureAwait(false);
HealthCheckService.cs (1)
45return CheckHealthAsync(predicate: null, cancellationToken);
Microsoft.Extensions.Diagnostics.Probes (1)
TcpEndpointProbesService.cs (1)
43var report = await _healthCheckService.CheckHealthAsync(_options.FilterChecks, cancellationToken).ConfigureAwait(false);