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();
        }
Exemplo n.º 3
0
        public static void CreateContext(OfflineWebSession webSession, string method, string url, NameValueCollection postData)
        {
            WebAppConfig.Init(webSession.MapPath);

            HttpContextBase context = new OfflineHttpContext(webSession, method, url, postData);

            Current = context;

            context.SessionObject = WebAppHelper.CreateSessionObject();

            WebAppConfig.Fire_SessionCreated(context.SessionObject);
        }
 public OfflineHttpServerUtility(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
 public ContextCreatedEventArgs(OfflineWebSession webSession, HttpContextBase httpContext)
 {
     _webSession = webSession;
     _httpContext = httpContext;
 }
Exemplo n.º 6
0
        public static void CreateContext(OfflineWebSession webSession, string method, string url, NameValueCollection postData )
        {
            WebAppConfig.Init(webSession.MapPath);

            HttpContextBase context = new OfflineHttpContext(webSession, method, url, postData);

            Current = context;

            context.SessionObject = WebAppHelper.CreateSessionObject();

            WebAppConfig.Fire_SessionCreated(context.SessionObject);
        }
 public OfflineHttpSessionState(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
 public OfflineHttpSessionState(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
 public OfflineHttpServerUtility(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
Exemplo n.º 10
0
 public ContextCreatedEventArgs(OfflineWebSession webSession, HttpContextBase httpContext)
 {
     _webSession  = webSession;
     _httpContext = httpContext;
 }