Method AddBelayHealthChecks
Namespace: Belay.Extensions
Assembly: Belay.Extensions.dll
AddBelayHealthChecks(IServiceCollection, Action<BelayHealthCheckOptions>?)
Adds Belay.NET health checks to the service collection.
csharp
public static IServiceCollection AddBelayHealthChecks(this IServiceCollection services, Action<BelayHealthCheckOptions>? configureHealthChecks = null)
Parameters
services
IServiceCollection
The service collection.
configureHealthChecks
Action<BelayHealthCheckOptions>?
Optional action to configure health check options.
Returns
The service collection for chaining.