示例#1
0
 ///<summary>Removes the specified Client from the client list.</summary>
 ///<param name="client">The client to remove from the client list.</param>
 protected void RemoveClient(Client client)
 {
     Clients.Remove(client);
 }
示例#2
0
 ///<summary>Adds the specified Client to the client list.</summary>
 ///<remarks>A client will never be added twice to the list.</remarks>
 ///<param name="client">The client to add to the client list.</param>
 protected void AddClient(Client client)
 {
     if (Clients.IndexOf(client) == -1)
         Clients.Add(client);
 }