public void Remove(ClientConfigElement client) { if (BaseIndexOf(client) >= 0) { BaseRemove(client.Name); } }
public int IndexOf(ClientConfigElement url) { return(BaseIndexOf(url)); }
// Create a new instance of the UrlsSection. // This constructor creates a configuration element // using the UrlConfigElement default values. // It assigns this element to the collection. public SocketSection() { ClientConfigElement client = new ClientConfigElement(); Clients.Add(client); }
public void Add(ClientConfigElement url) { BaseAdd(url); // Your custom code goes here. }