public static IHostBuilder AddCloudFoundryActuators(this IHostBuilder hostBuilder, Action <CorsPolicyBuilder> buildCorsPolicy = null) => hostBuilder.AddCloudFoundryActuators(MediaTypeVersion.V2, buildCorsPolicy);
/// <summary> /// Adds all Actuators supported by Apps Manager. Also configures DynamicLogging if not previously setup. /// </summary> /// <param name="hostBuilder">Your Hostbuilder</param> /// <param name="buildCorsPolicy">Customize the CORS policy. </param> public static IHostBuilder AddCloudFoundryActuators(this IHostBuilder hostBuilder, Action <CorsPolicyBuilder> buildCorsPolicy = null) { return(hostBuilder.AddCloudFoundryActuators(MediaTypeVersion.V1, ActuatorContext.CloudFoundry, buildCorsPolicy)); }