16 references to Registrations
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
335
var healthCheckRegistrationKeys = options.
Registrations
.Select(hcr => hcr.Name).ToHashSet();
Microsoft.Extensions.Diagnostics.HealthChecks (4)
DefaultHealthCheckService.cs (2)
36
ValidateRegistrations(_options.Value.
Registrations
);
42
var registrations = _options.Value.
Registrations
;
DependencyInjection\HealthChecksBuilder.cs (1)
25
options.
Registrations
.Add(registration);
HealthCheckPublisherHostedService.cs (1)
108
foreach (var hc in _healthCheckServiceOptions.Value.
Registrations
)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (2)
ApplicationLifecycleHealthChecksExtensionsTests.cs (1)
56
var registrations = serviceProvider.GetRequiredService<IOptions<HealthCheckServiceOptions>>().Value.
Registrations
;
ManualHealthCheckExtensionsTests.cs (1)
51
var registrations = serviceProvider.GetRequiredService<IOptions<HealthCheckServiceOptions>>().Value.
Registrations
;
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (9)
DependencyInjection\HealthChecksBuilderTest.cs (9)
35
var registration = Assert.Single(options.
Registrations
);
55
var registration = Assert.Single(options.
Registrations
);
78
var registration = Assert.Single(options.
Registrations
);
100
var registration = Assert.Single(options.
Registrations
);
126
var registration = Assert.Single(options.
Registrations
);
149
var registration = Assert.Single(options.
Registrations
);
172
var registration = Assert.Single(options.
Registrations
);
195
var registration = Assert.Single(options.
Registrations
);
218
options.Value.
Registrations
,