Пример #1
0
 /// <summary>
 /// Removes the session.
 /// </summary>
 /// <param name="session">The session.</param>
 internal static void RemoveSession(Session session)
 {
     _sessions.Remove(session);
 }
Пример #2
0
 /// <summary>
 /// Registers the session.
 /// </summary>
 /// <param name="session">The session.</param>
 internal static void RegisterSession(Session session)
 {
     if (!_sessions.Contains(session)) _sessions.Add(session);
 }