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) { 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); }
public int IndexOf(TypeElement element) { if (element == null) { throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } return(BaseIndexOf(element)); }
public int IndexOf(TypeElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } return(base.BaseIndexOf(element)); }
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); }
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)); }
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; }
public int IndexOf (TypeElement element) { return BaseIndexOf (element); }
public void Remove (TypeElement element) { BaseRemove ((string) GetElementKey (element)); }
protected override ConfigurationElement CreateNewElement() { TypeElement retval = new TypeElement(); return(retval); }