Ejemplo n.º 1
0
        /// <summary>
        /// Removes an element from the collection
        /// </summary>
        /// <param name="element">The element to be removed</param>
        public void Remove(SmtpConnectionElement element)
        {
            int idx = BaseIndexOf(element);

            if (idx > 0)
            {
                BaseRemoveAt(idx);
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds an element to the collection
 /// </summary>
 /// <param name="element">The element to be added</param>
 public void Add(SmtpConnectionElement element)
 {
     BaseAdd(element);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Retrieves the Index of an element in the collection
 /// </summary>
 /// <param name="element">The element</param>
 /// <returns>An intenger with the index of the given element</returns>
 public int IndexOf(SmtpConnectionElement element)
 {
     return(BaseIndexOf(element));
 }