Class HealthCheckModule
- Namespace
- Mithril.HealthChecks
- Assembly
- Mithril.HealthChecks.dll
Health check module
public class HealthCheckModule : ModuleBaseClass<HealthCheckModule>, IEquatable<HealthCheckModule>, IModule
- Inheritance
-
HealthCheckModule
- Implements
- Inherited Members
- Extension Methods
Properties
Order
Gets the order that they are initialized in.
public override int Order { get; }
Property Value
- int
The order that they are initialized in.
Methods
ConfigureRoutes(IEndpointRouteBuilder?, IConfiguration?, IHostEnvironment?)
Configures the routes.
public override IEndpointRouteBuilder? ConfigureRoutes(IEndpointRouteBuilder? endpoints, IConfiguration? configuration, IHostEnvironment? environment)
Parameters
endpoints
IEndpointRouteBuilderThe endpoints.
configuration
IConfigurationThe configuration.
environment
IHostEnvironmentThe environment.
Returns
- IEndpointRouteBuilder
Endpoint route builder
ConfigureServices(IServiceCollection?, IConfiguration?, IHostEnvironment?)
Configures the services for the module.
public override IServiceCollection? ConfigureServices(IServiceCollection? services, IConfiguration? configuration, IHostEnvironment? environment)
Parameters
services
IServiceCollectionThe services collection.
configuration
IConfigurationThe configuration.
environment
IHostEnvironmentThe environment.
Returns
- IServiceCollection
Services
See Also
ModuleBaseClass<TModule>