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