Esempio n. 1
0
 public CloudFoundryEndpointMiddleware(RequestDelegate next, CloudFoundryEndpoint endpoint, ILogger <CloudFoundryEndpointMiddleware> logger = null)
     : base(endpoint, logger: logger)
 {
     _next    = next;
     _options = endpoint.Options as ICloudFoundryOptions;
 }
Esempio n. 2
0
 public CloudFoundryEndpointMiddleware(RequestDelegate next, CloudFoundryEndpoint endpoint, IEnumerable <IManagementOptions> mgmtOptions, ILogger <CloudFoundryEndpointMiddleware> logger = null)
     : base(endpoint, mgmtOptions?.OfType <CloudFoundryManagementOptions>(), logger: logger)
 {
     _next    = next;
     _options = endpoint.Options as ICloudFoundryOptions;
 }