public RoutingMiddleware(RequestDelegate nextDelegate , ILoggerFactory loggerFactory , IOptions <HttpFunctionOptions> optionsAccessor , IRouteMatcher internalRouteMatcher) { next = nextDelegate; log = loggerFactory.CreateLogger <RoutingMiddleware>(); options = optionsAccessor.Value; routeMatcher = internalRouteMatcher; }
public HttpRequestHandler(ILoggerFactory loggerFactory , IHttpFunction httpFunction , IOptions <HttpFunctionOptions> optionsAccessor , IRouteMatcher internalRouteMatcher ) { log = loggerFactory.CreateLogger <HttpRequestHandler>(); function = httpFunction; options = optionsAccessor.Value; routeMatcher = internalRouteMatcher; }