Exemplo n.º 1
0
 public void Remove(ClientConfigElement client)
 {
     if (BaseIndexOf(client) >= 0)
     {
         BaseRemove(client.Name);
     }
 }
Exemplo n.º 2
0
 public int IndexOf(ClientConfigElement url)
 {
     return(BaseIndexOf(url));
 }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
        public void Add(ClientConfigElement url)
        {
            BaseAdd(url);

            // Your custom code goes here.
        }