Inheritance: ICurrentHttpRequest
Ejemplo n.º 1
0
        public OwinServiceArguments(RouteData routeData, IDictionary<string, object> environment)
        {
            var httpRequest = new OwinCurrentHttpRequest(environment);

            With<IRequestData>(new OwinRequestData(routeData, environment, httpRequest));

            With<ICurrentHttpRequest>(httpRequest);
            With<IStreamingData>(new OwinStreamingData(environment));
            With<IHttpWriter>(new OwinHttpWriter(environment));

            With<IResponse>(new OwinResponse(environment));
        }
Ejemplo n.º 2
0
        public OwinServiceArguments(RouteData routeData, IDictionary <string, object> environment)
        {
            var httpRequest = new OwinCurrentHttpRequest(environment);

            With <IRequestData>(new OwinRequestData(routeData, environment, httpRequest));


            With <ICurrentHttpRequest>(httpRequest);
            With <IStreamingData>(new OwinStreamingData(environment));
            With <IHttpWriter>(new OwinHttpWriter(environment));

            With <IResponse>(new OwinResponse(environment));
        }