1 implementation of Services
Microsoft.Extensions.Diagnostics.HealthChecks (1)
DependencyInjection\HealthChecksBuilder.cs (1)
17public IServiceCollection Services { get; }
9 references to Services
HealthChecksSample (1)
GCInfoHealthCheck.cs (1)
30builder.Services.Configure<GCInfoOptions>(name, options =>
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (8)
DefaultHealthCheckServiceTest.cs (8)
341b.Services.AddSingleton<ILoggerFactory>(loggerFactory); 363b.Services.AddTransient<AnotherService>(); 387b.Services.AddScoped<AnotherService>(); 412b.Services.AddScoped<CantBeMultiThreadedService>(); 442b.Services.AddScoped<SynchronousDisposable>(); 443b.Services.AddScoped<AsyncOnlyDisposable>(); 444b.Services.AddScoped<SyncOrAsyncDisposable>(); 467b.Services.AddSingleton<AnotherService>();