Esempio n. 1
0
 /// <summary>Removes the specified <paramref name="element"/> from the collection.</summary>
 public void Remove(NamespaceConfigurationElement element)
 {
     if (this.BaseIndexOf(element) >= 0)
     {
         this.BaseRemove(element.Prefix);
     }
 }
Esempio n. 2
0
 /// <summary>Returns the index of the specified <paramref name="element"/> in this collection.</summary>
 public Int32 IndexOf(NamespaceConfigurationElement element)
 {
     return(this.BaseIndexOf(element));
 }
Esempio n. 3
0
 /// <summary>Adds the specified <paramref name="element"/> to the collection.</summary>
 public void Add(NamespaceConfigurationElement element)
 {
     this.BaseAdd(element);
 }
Esempio n. 4
0
        /// <summary>Constructs and initializes a new instance of <see cref="IgnoreNamespaceConfigurationCollection"/>.</summary>
        public IgnoreNamespaceConfigurationCollection()
        {
            NamespaceConfigurationElement element = new NamespaceConfigurationElement();

            this.BaseAdd(element, true);
        }