internal HttpRequestContext( ClientData clientData, HttpRequest httpRequest, HttpRouteBase httpRouteBase, HttpRoutingHandler httpRoutingHandler) { this.ClientData = clientData ?? throw new ArgumentNullException(nameof(clientData)); this.Request = httpRequest ?? throw new ArgumentNullException(nameof(httpRequest)); this.Route = httpRouteBase ?? throw new ArgumentNullException(nameof(httpRouteBase)); this.RoutingHandler = httpRoutingHandler ?? throw new ArgumentNullException(nameof(httpRoutingHandler)); }
void ISetHttpContext.SetHttpRoutingHandler(HttpRoutingHandler httpRoutingHandler) { this.HttpRoutingHandler = httpRoutingHandler; }