Class HealthEndpointCore
- Namespace
- Steeltoe.Management.Endpoint.Health
- Assembly
- Steeltoe.Management.EndpointCore.dll
public class HealthEndpointCore : HealthEndpoint, IEndpoint<HealthEndpointResponse, ISecurityContext>, IEndpoint, IHealthEndpoint
- Inheritance
-
HealthEndpointCore
- Implements
- Inherited Members
Constructors
HealthEndpointCore(IHealthOptions, IHealthAggregator, IEnumerable<IHealthContributor>, IOptionsMonitor<HealthCheckServiceOptions>, IServiceProvider, ILogger<HealthEndpoint>)
public HealthEndpointCore(IHealthOptions options, IHealthAggregator aggregator, IEnumerable<IHealthContributor> contributors, IOptionsMonitor<HealthCheckServiceOptions> serviceOptions, IServiceProvider provider, ILogger<HealthEndpoint> logger = null)
Parameters
options
IHealthOptionsaggregator
IHealthAggregatorcontributors
IEnumerable<IHealthContributor>serviceOptions
IOptionsMonitor<HealthCheckServiceOptions>provider
IServiceProviderlogger
ILogger<HealthEndpoint>
Properties
Options
public IHealthOptions Options { get; }
Property Value
Methods
BuildHealth(ISecurityContext)
protected override HealthEndpointResponse BuildHealth(ISecurityContext securityContext)
Parameters
securityContext
ISecurityContext
Returns
Invoke(ISecurityContext)
public override HealthEndpointResponse Invoke(ISecurityContext securityContext)
Parameters
securityContext
ISecurityContext