public LockObject(WebBaseLogic <WebParameter, GoData> logic)
        {
            _logic = logic;
            var workarea = _logic.RequestResources != null ? _logic.RequestResources[0] : _logic.Name;

            _locks = new HostJsLockObejctEntity(workarea);
            _logic.CallContext_ResourceManage.AddEntity(_logic.CallContext_CurrentToken, _locks);
        }
예제 #2
0
 public WebSocketHelper(WebBaseLogic <P, D> logic)
 {
     _logic = logic;
     if (_logic.CallContext_DataCollection["websocket"] != null)
     {
         socket = (WebSocket)_logic.CallContext_DataCollection["websocket"];
     }
     iswebsocket = _logic.IsWebSocket;
 }
 public InputObject(WebBaseLogic <WebParameter, GoData> logic)
 {
     _logic = logic;
     _ld    = new LogicData();
     if (_logic.CallContext_Parameter != null)
     {
         //添加querystring
         foreach (var s in _logic.CallContext_Parameter.Domain(DomainKey.QUERY_STRING))
         {
             _ld.SetValue(s.Key, s.Value);
         }
         //添加postback数据
         foreach (var s in _logic.CallContext_Parameter.Domain(DomainKey.POST_DATA))
         {
             _ld.SetValue(s.Key, s.Value);
         }
     }
 }
예제 #4
0
 public SessionHelper(WebBaseLogic <P, D> logic)
 {
     _logic = logic;
 }
예제 #5
0
 public ServerInfoProperty(WebBaseLogic <P, D> logic)
 {
     _logic      = logic;
     _ip         = ComFunc.nvl(_logic.CallContext_Parameter[DomainKey.APPLICATION_ENVIRONMENT, "serverinfo_ip"]);
     _servername = ComFunc.nvl(_logic.CallContext_Parameter[DomainKey.APPLICATION_ENVIRONMENT, "server_servername"]);
 }
예제 #6
0
 public ClientInfoProperty(WebBaseLogic <P, D> logic)
 {
     _logic = logic;
 }
 public GlobalizationHelper(WebBaseLogic <P, D> logic)
 {
     _logic = logic;
 }
 public ApplicationHelper(WebBaseLogic <P, D> logic)
 {
     _logic = logic;
 }
예제 #9
0
 public CookieHelper(WebBaseLogic <P, D> logic)
 {
     _logic = logic;
 }
 public FileObject(WebBaseLogic <WebParameter, GoData> logic)
 {
     _logic = logic;
 }
 public ConfigObject(WebBaseLogic <WebParameter, GoData> logic)
 {
     _logic = logic;
 }
 public ServerObject(WebBaseLogic <WebParameter, GoData> logic)
 {
     _logic = logic;
 }
 public LoginInfoObject(WebBaseLogic <WebParameter, GoData> logic)
 {
     _logic = logic;
 }
 public ClientObject(WebBaseLogic <WebParameter, GoData> logic)
 {
     _logic = logic;
 }
예제 #15
0
 public ValidationHelper(WebBaseLogic <P, D> logic)
 {
     _logic = logic;
 }