Interface IHealthCheckRegistry
- Namespace
- Acuit.Pinpoint.HealthChecks
- Assembly
- Acuit.Pinpoint.HealthChecks.Abstractions.dll
A registry of health checks.
public interface IHealthCheckRegistry
- Extension Methods
Methods
RegisterHealthCheck(HealthCheckRegistration)
Registers a health check.
IDisposable RegisterHealthCheck(HealthCheckRegistration registration)
Parameters
registrationHealthCheckRegistrationThe registration information associated with an IHealthCheck implementation.
Returns
- IDisposable
A IDisposable that can be used to remove the registration.
Exceptions
- ArgumentNullException
registrationis null.