Пример #1
0
 public void Remove(ClientConfigElement client)
 {
     if (BaseIndexOf(client) >= 0)
     {
         BaseRemove(client.Name);
     }
 }
Пример #2
0
 public int IndexOf(ClientConfigElement url)
 {
     return(BaseIndexOf(url));
 }
Пример #3
0
        // 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);
        }
Пример #4
0
        public void Add(ClientConfigElement url)
        {
            BaseAdd(url);

            // Your custom code goes here.
        }