Class HealthEndpointCore
- Namespace
- Steeltoe.Management.Endpoint.Health
- Assembly
- Steeltoe.Management.EndpointCore.dll
public class HealthEndpointCore : HealthEndpoint, IEndpoint<HealthCheckResult, ISecurityContext>, IEndpoint
- Inheritance
-
HealthEndpointCore
- Implements
- Inherited Members
- Extension Methods
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(IHealthAggregator, IList<IHealthContributor>, ISecurityContext, IOptionsMonitor<HealthCheckServiceOptions>, IServiceProvider)
protected virtual HealthCheckResult BuildHealth(IHealthAggregator aggregator, IList<IHealthContributor> contributors, ISecurityContext securityContext, IOptionsMonitor<HealthCheckServiceOptions> svcOptions, IServiceProvider provider)
Parameters
aggregator
IHealthAggregatorcontributors
IList<IHealthContributor>securityContext
ISecurityContextsvcOptions
IOptionsMonitor<HealthCheckServiceOptions>provider
IServiceProvider
Returns
Invoke(ISecurityContext)
public override HealthCheckResult Invoke(ISecurityContext securityContext)
Parameters
securityContext
ISecurityContext