Ejemplo n.º 1
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        public ProxyImap4HostCollection()
        {
            // Get the current host element.
            ProxyImap4HostElement host =
                (ProxyImap4HostElement)CreateNewElement();

            // Add the element to the collection.
            Add(host);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a new host element type to the collection.
 /// </summary>
 /// <param name="element">The current host element.</param>
 public void Add(ProxyImap4HostElement element)
 {
     // Add the element to the base
     // ConfigurationElementCollection type.
     BaseAdd(element);
 }