Exemple #1
0
 public static PageSessionCollection GetInstance()
 {
     if (_instance == null)
     {
         _instance = new PageSessionCollection();
     }
     return(_instance);
 }
Exemple #2
0
 public void Init(ThreadEntity threadEntity, WebSetting.WebSettingItem webSetting)
 {
     _threadEntity     = threadEntity;
     _htmlContainer    = new HTMLContainer(_threadEntity.WebSetting.Encoding);
     _server           = _threadEntity.WebContext.Server;
     _url              = threadEntity.URL;
     _updateLocalCache = false;
     _response         = new PageResponse(_threadEntity, _htmlContainer);
     _request          = new PageRequest(_threadEntity);
     _pageData         = new PageData();
     _pageSession      = PageSessionCollection.GetInstance().GetSession(_threadEntity);
     _webSetting       = webSetting;
 }
Exemple #3
0
 public static PageSessionCollection GetInstance()
 {
     if (_instance == null) {
         _instance = new PageSessionCollection();
     }
     return _instance;
 }