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