Class ActuatorServiceCollectionExtensions
Inheritance
System.Object
ActuatorServiceCollectionExtensions
Assembly: Steeltoe.Management.EndpointCore.dll
Syntax
public static class ActuatorServiceCollectionExtensions : object
Methods
|
Edit this page
View Source
AddAllActuators(IServiceCollection, IConfiguration, Action<CorsPolicyBuilder>)
Declaration
public static void AddAllActuators(this IServiceCollection services, IConfiguration config, Action<CorsPolicyBuilder> buildCorsPolicy)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IConfiguration |
config |
|
Action<CorsPolicyBuilder> |
buildCorsPolicy |
|
|
Edit this page
View Source
Declaration
public static IServiceCollection AddAllActuators(this IServiceCollection services, IConfiguration config = null, MediaTypeVersion version = MediaTypeVersion.V2, Action<CorsPolicyBuilder> buildCorsPolicy = null)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
IConfiguration |
config |
|
MediaTypeVersion |
version |
|
Action<CorsPolicyBuilder> |
buildCorsPolicy |
|
Returns
Type |
Description |
IServiceCollection |
|
|
Edit this page
View Source
RegisterEndpointOptions(IServiceCollection, IEndpointOptions)
Declaration
public static void RegisterEndpointOptions(this IServiceCollection services, IEndpointOptions options)
Parameters