Inheritance: IDisposable
示例#1
0
 public void RemoveClient(Client client)
 {
     try
     {
         if (client != null && Clients.Contains(client))
             Clients.Remove(client);
     }
     catch{}
 }
示例#2
0
 public void AddClient(Client client)
 {
     if (Clients.IndexOf(client) == -1)
     {
         Clients.Add(client);
     }
 }