Table of Contents

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 IEndpointRouteBuilder

The endpoints.

configuration IConfiguration

The configuration.

environment IHostEnvironment

The 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 IServiceCollection

The services collection.

configuration IConfiguration

The configuration.

environment IHostEnvironment

The environment.

Returns

IServiceCollection

Services

See Also

ModuleBaseClass<TModule>