Exemplo n.º 1
0
        public OfflineHttpContext(OfflineWebSession offlineSession, string method, string url, NameValueCollection postData)
        {
            _offlineSession = offlineSession;

            _request  = new OfflineHttpRequest(method, url, postData);
            _session  = new OfflineHttpSessionState(offlineSession);
            _server   = new OfflineHttpServerUtility(offlineSession);
            _response = new OfflineHttpResponse();
        }
        public OfflineHttpContext(OfflineWebSession offlineSession, string method, string url, NameValueCollection postData)
        {
            _offlineSession = offlineSession;

            _request = new OfflineHttpRequest(method, url, postData);
            _session = new OfflineHttpSessionState(offlineSession);
            _server = new OfflineHttpServerUtility(offlineSession);
            _response = new OfflineHttpResponse();
        }