private ISession GetSession(IChannel channel) { ISession result = (ISession)channel["_session"]; if (result == null) { result = new Implement.Session { Application = Application, Channel = channel }; channel["_session"] = result; } return result; }
private ISession GetSession(IChannel channel) { ISession result = (ISession)channel["_session"]; if (result == null) { result = new Implement.Session { Application = Application, Channel = channel }; channel["_session"] = result; } return(result); }