Class EndpointServiceCollectionExtensions
Inheritance
System.Object
EndpointServiceCollectionExtensions
Namespace: Steeltoe.Management.Endpoint.Actuators.Services
Assembly: Steeltoe.Management.Endpoint.dll
Syntax
csharp
public static class EndpointServiceCollectionExtensions : object
Methods
| Edit this page View SourceAddServicesActuator(IServiceCollection)
Adds the services actuator to the service container and configures the ASP.NET Core middleware pipeline.
Declaration
csharp
public static IServiceCollection AddServicesActuator(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
IService |
services | The |
Returns
Type | Description |
---|---|
IService |
The incoming |
AddServicesActuator(IServiceCollection, Boolean)
Adds the services actuator to the service container.
Declaration
csharp
public static IServiceCollection AddServicesActuator(this IServiceCollection services, bool configureMiddleware)
Parameters
Type | Name | Description |
---|---|---|
IService |
services | The |
System. |
configureMiddleware | When |
Returns
Type | Description |
---|---|
IService |
The incoming |