Class EndpointServiceCollectionExtensions
- Namespace
 - Steeltoe.Management.Endpoint.Health
 
- Assembly
 - Steeltoe.Management.EndpointCore.dll
 
public static class EndpointServiceCollectionExtensions
  - Inheritance
 - 
      
      EndpointServiceCollectionExtensions
 
- Inherited Members
 
Methods
AddHealthActuator(IServiceCollection, IConfiguration)
Adds components of the Health actuator to Microsoft-DI
public static void AddHealthActuator(this IServiceCollection services, IConfiguration config = null)
  Parameters
servicesIServiceCollectionService collection to add health to
configIConfigurationApplication configuration. Retrieved from the Microsoft.Extensions.DependencyInjection.IServiceCollection if not provided (this actuator looks for a settings starting with management:endpoints:health)
AddHealthActuator(IServiceCollection, IConfiguration, IHealthAggregator, params Type[])
Adds components of the Health actuator to Microsoft-DI
public static void AddHealthActuator(this IServiceCollection services, IConfiguration config, IHealthAggregator aggregator, params Type[] contributors)
  Parameters
servicesIServiceCollectionService collection to add health to
configIConfigurationApplication configuration. Retrieved from the Microsoft.Extensions.DependencyInjection.IServiceCollection if not provided (this actuator looks for a settings starting with management:endpoints:health)
aggregatorIHealthAggregatorCustom health aggregator
contributorsType[]Contributors to application health
AddHealthActuator(IServiceCollection, IConfiguration, params Type[])
Adds components of the Health actuator to Microsoft-DI
public static void AddHealthActuator(this IServiceCollection services, IConfiguration config = null, params Type[] contributors)
  Parameters
servicesIServiceCollectionService collection to add health to
configIConfigurationApplication configuration. Retrieved from the Microsoft.Extensions.DependencyInjection.IServiceCollection if not provided (this actuator looks for a settings starting with management:endpoints:health)
contributorsType[]Contributors to application health
AddHealthContributors(IServiceCollection, params Type[])
public static void AddHealthContributors(IServiceCollection services, params Type[] contributors)
  Parameters
servicesIServiceCollectioncontributorsType[]