Пример #1
0
 ///<summary>
 ///Removes user from Channel
 ///</summary>
 private void RemoveUser(User user)
 {
     if (Online.Contains(user))
     {
         Online.Remove(user);
     }
 }
Пример #2
0
 ///<summary>
 ///Add user to Channel
 ///</summary>
 private void AddUser(User user)
 {
     if (!Online.Contains(user))
     {
         Online.Add(user);
     }
 }