Esempio n. 1
0
        public JiraSession Enter(JiraSession session)
        {
            if (!this.Sessions.Contains(session))
              {
            this.Sessions.Add(session);
              }

              this.CurrentSession = session;

              return session;
        }
Esempio n. 2
0
        public JiraSession Enter(JiraSession session)
        {
            if (!this.Sessions.Contains(session))
            {
                this.Sessions.Add(session);
            }

            this.CurrentSession = session;

            return(session);
        }
Esempio n. 3
0
        public void Remove(JiraSession session)
        {
            if (this.Sessions.Contains(session))
              {
            this.Sessions.Remove(session);
              }

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

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