internal IISHttpContext( HttpContext context, createComponent<IISHttpApplication> createHttpApplication, createComponent<IISHttpRequest> createHttpRequest, createComponent<IISHttpServerUtility> createHttpServerUtility, createComponent<IISHttpResponse> createHttpResponse, Func<IPrincipal, IISHostPrincipal> createUser, Func<IISHttpHandler> createHandler ) { Throw<ArgumentNullException>.If(context==null, "context"); this.context = context; this.createHttpApplication = createHttpApplication; this.createHttpRequest = createHttpRequest; this.createHttpResponse = createHttpResponse; this.createHttpServerUtility = createHttpServerUtility; this.createUser = createUser; this.createHandler = createHandler; }
internal IISHttpContext ( HttpContext context, createComponent <IISHttpApplication> createHttpApplication, createComponent <IISHttpRequest> createHttpRequest, createComponent <IISHttpServerUtility> createHttpServerUtility, createComponent <IISHttpResponse> createHttpResponse, Func <IPrincipal, IISHostPrincipal> createUser, Func <IISHttpHandler> createHandler ) { Throw <ArgumentNullException> .If(context == null, "context"); this.context = context; this.createHttpApplication = createHttpApplication; this.createHttpRequest = createHttpRequest; this.createHttpResponse = createHttpResponse; this.createHttpServerUtility = createHttpServerUtility; this.createUser = createUser; this.createHandler = createHandler; }