示例#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);
     }
 }
示例#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));
 }
示例#3
0
 /// <summary>Adds the specified <paramref name="element"/> to the collection.</summary>
 public void Add(NamespaceConfigurationElement element)
 {
     this.BaseAdd(element);
 }
示例#4
0
        /// <summary>Constructs and initializes a new instance of <see cref="IgnoreNamespaceConfigurationCollection"/>.</summary>
        public IgnoreNamespaceConfigurationCollection()
        {
            NamespaceConfigurationElement element = new NamespaceConfigurationElement();

            this.BaseAdd(element, true);
        }