Class EndpointServiceCollectionExtensions
Inheritance
System.Object
EndpointServiceCollectionExtensions
Namespace: Steeltoe.Management.Endpoint.Info
Assembly: Steeltoe.Management.EndpointCore.dll
Syntax
public static class EndpointServiceCollectionExtensions : object
Methods
| Edit this page View SourceAddInfoActuator(IServiceCollection, IConfiguration)
Adds components of the Info actuator to Microsoft-DI
Declaration
public static void AddInfoActuator(this IServiceCollection services, IConfiguration config = null)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services | Service collection to add info to |
IConfiguration | config | Application configuration. Retrieved from the |
AddInfoActuator(IServiceCollection, IConfiguration, IInfoContributor[])
Adds components of the info actuator to Microsoft-DI
Declaration
public static void AddInfoActuator(this IServiceCollection services, IConfiguration config = null, params IInfoContributor[] contributors)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services | Service collection to add info to |
IConfiguration | config | Application configuration. Retrieved from the |
IInfoContributor[] | contributors | Contributors to application information |