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); }
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); } } }
public SessionHelper(WebBaseLogic <P, D> logic) { _logic = logic; }
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"]); }
public ClientInfoProperty(WebBaseLogic <P, D> logic) { _logic = logic; }
public GlobalizationHelper(WebBaseLogic <P, D> logic) { _logic = logic; }
public ApplicationHelper(WebBaseLogic <P, D> logic) { _logic = logic; }
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; }
public ValidationHelper(WebBaseLogic <P, D> logic) { _logic = logic; }