public void Remove(TypeElement element)
 {
     if (!this.IsReadOnly() && (element == null))
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     base.BaseRemove(this.GetElementKey(element));
 }
Example #2
0
 public void Add(TypeElement element)
 {
     if (!this.IsReadOnly() && (element == null))
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     this.BaseAdd(element);
 }
 public int IndexOf(TypeElement element)
 {
     if (element == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     return base.BaseIndexOf(element);
 }
 public void Add(TypeElement element)
 {
     if (!this.IsReadOnly() && (element == null))
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     this.BaseAdd(element);
 }
Example #5
0
 public int IndexOf(TypeElement element)
 {
     if (element == null)
     {
         throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     return(BaseIndexOf(element));
 }
Example #6
0
 public int IndexOf(TypeElement element)
 {
     if (element == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     return(base.BaseIndexOf(element));
 }
Example #7
0
 public void Remove(TypeElement element)
 {
     if (!this.IsReadOnly() && (element == null))
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     base.BaseRemove(this.GetElementKey(element));
 }
 public void Add(TypeElement element)
 {
     // Only validate input if config is not Read-Only, otherwise
     // let BaseAdd throw appropriate exception
     if (!this.IsReadOnly())
     {
         if (element == null)
         {
             throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
         }
     }
     BaseAdd(element);
 }
Example #9
0
 public void Remove(TypeElement element)
 {
     // Only validate input if config is not Read-Only, otherwise
     // let BaseRemove throw appropriate exception
     if (!this.IsReadOnly())
     {
         if (element == null)
         {
             throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
         }
     }
     BaseRemove(this.GetElementKey(element));
 }
Example #10
0
		public void Add (TypeElement element)
		{
			BaseAdd (element);
		}
 internal System.Type GetType(string rootType, System.Type[] typeArgs)
 {
     return(TypeElement.GetType(rootType, typeArgs, this.Type, this.Index, this.Parameters));
 }
 public void Remove(TypeElement element)
 {
     BaseRemove((string)GetElementKey(element));
 }
 public int IndexOf(TypeElement element)
 {
     return(BaseIndexOf(element));
 }
 public void Add(TypeElement element)
 {
     BaseAdd(element);
 }
 public int IndexOf(TypeElement element)
 {
     if (element == null)
     {
         throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     return BaseIndexOf(element);
 }
 protected override ConfigurationElement CreateNewElement()
 {
     TypeElement retval = new TypeElement();
     return retval;
 }
Example #17
0
		public int IndexOf (TypeElement element)
		{
			return BaseIndexOf (element);
		}
Example #18
0
		public void Remove (TypeElement element)
		{
			BaseRemove ((string) GetElementKey (element));
		}
Example #19
0
        protected override ConfigurationElement CreateNewElement()
        {
            TypeElement retval = new TypeElement();

            return(retval);
        }