Пример #1
0
 public void Remove(ServerSideUser user)
 {
     _userlist.Remove (user);
 }
Пример #2
0
 public void Add(ServerSideUser user)
 {
     if (_userlist.Find (u => u.Name == user.Name) != null)
         throw new ArgumentException ("Nickname is already taken");
     _userlist.Add (user);
 }