Holds the information about a single session.
        public CflSession Enter(CflSession session)
        {
            if (!this.Sessions.Contains(session))
              {
            this.Sessions.Add(session);
              }

              this.CurrentSession = session;

              return session;
        }
Ejemplo n.º 2
0
        public CflSession Enter(CflSession session)
        {
            if (!this.Sessions.Contains(session))
            {
                this.Sessions.Add(session);
            }

            this.CurrentSession = session;

            return(session);
        }
        public void Remove(CflSession session)
        {
            if (this.Sessions.Contains(session))
              {
            this.Sessions.Remove(session);
              }

              if (this.CurrentSession == session)
              {
            this.CurrentSession = null;
              }
        }
Ejemplo n.º 4
0
        public void Remove(CflSession session)
        {
            if (this.Sessions.Contains(session))
            {
                this.Sessions.Remove(session);
            }

            if (this.CurrentSession == session)
            {
                this.CurrentSession = null;
            }
        }