Ejemplo 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();
        }
Ejemplo n.º 2
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();
        }
Ejemplo 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;
 }
Ejemplo 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);
        }
Ejemplo n.º 7
0
 public OfflineHttpSessionState(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
 public OfflineHttpSessionState(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
 public OfflineHttpServerUtility(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
Ejemplo n.º 10
0
 public ContextCreatedEventArgs(OfflineWebSession webSession, HttpContextBase httpContext)
 {
     _webSession  = webSession;
     _httpContext = httpContext;
 }