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
- optionsIHealthOptions
- aggregatorIHealthAggregator
- contributorsIEnumerable<IHealthContributor>
- serviceOptionsIOptionsMonitor<HealthCheckServiceOptions>
- providerIServiceProvider
- loggerILogger<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
- aggregatorIHealthAggregator
- contributorsIList<IHealthContributor>
- securityContextISecurityContext
- svcOptionsIOptionsMonitor<HealthCheckServiceOptions>
- providerIServiceProvider
Returns
Invoke(ISecurityContext)
public override HealthCheckResult Invoke(ISecurityContext securityContext)Parameters
- securityContextISecurityContext