コード例 #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();
        }
コード例 #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();
        }
コード例 #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);
        }
コード例 #4
0
 public OfflineHttpServerUtility(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
コード例 #5
0
 public ContextCreatedEventArgs(OfflineWebSession webSession, HttpContextBase httpContext)
 {
     _webSession = webSession;
     _httpContext = httpContext;
 }
コード例 #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);
        }
コード例 #7
0
 public OfflineHttpSessionState(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
コード例 #8
0
 public OfflineHttpSessionState(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
コード例 #9
0
 public OfflineHttpServerUtility(OfflineWebSession webSession)
 {
     _webSession = webSession;
 }
コード例 #10
0
 public ContextCreatedEventArgs(OfflineWebSession webSession, HttpContextBase httpContext)
 {
     _webSession  = webSession;
     _httpContext = httpContext;
 }