/// <summary>Initializes a new instance of the <see cref="DutchPhoneNumberValidatorConfigElement"/> class.</summary>
 public DutchPhoneNumberValidatorConfigElement()
 {
     string[] defaultAreaCodes = Resources.AreaCodes_NL.Split(';');
     foreach (string areaCode in defaultAreaCodes)
     {
         DutchPhoneNumberAreaCodeConfigElement areaElement = new DutchPhoneNumberAreaCodeConfigElement("0" + areaCode);
         this.AreaCodes.Add(areaElement);
     }
 }
        /// <summary>Removes an element from the collection.</summary>
        /// <param name="element">The element that must be removed.</param>
        public void Remove(DutchPhoneNumberAreaCodeConfigElement element)
        {
            if (element == null)
            {
                return;
            }

            if (this.BaseIndexOf(element) >= 0)
            {
                this.BaseRemove(element.AreaCode);
            }
        }
 /// <summary>Adds an element to the collection.</summary>
 /// <param name="element">The element that must be added.</param>
 public void Add(DutchPhoneNumberAreaCodeConfigElement element)
 {
     this.BaseAdd(element);
 }
 /// <summary>Gets the index of the specified element.</summary>
 /// <param name="element">The element of which the index must be returned.</param>
 /// <returns>The index of the element.</returns>
 public int IndexOf(DutchPhoneNumberAreaCodeConfigElement element)
 {
     return(this.BaseIndexOf(element));
 }