public void Remove(TypeElement element)
 {
     if (!this.IsReadOnly() && (element == null))
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     base.BaseRemove(this.GetElementKey(element));
 }
Пример #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);
 }
Пример #5
0
 public int IndexOf(TypeElement element)
 {
     if (element == null)
     {
         throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     return(BaseIndexOf(element));
 }
Пример #6
0
 public int IndexOf(TypeElement element)
 {
     if (element == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
     }
     return(base.BaseIndexOf(element));
 }
Пример #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);
 }
Пример #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));
 }
Пример #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));
 }
Пример #12
0
 public void Remove(TypeElement element)
 {
     BaseRemove((string)GetElementKey(element));
 }
Пример #13
0
 public int IndexOf(TypeElement element)
 {
     return(BaseIndexOf(element));
 }
Пример #14
0
 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;
 }
Пример #17
0
		public int IndexOf (TypeElement element)
		{
			return BaseIndexOf (element);
		}
Пример #18
0
		public void Remove (TypeElement element)
		{
			BaseRemove ((string) GetElementKey (element));
		}
Пример #19
0
        protected override ConfigurationElement CreateNewElement()
        {
            TypeElement retval = new TypeElement();

            return(retval);
        }