/// <summary> /// Determines whether a specfic ITypeParameterDeclaration value is in this TypeParameterDeclarationCollection. /// </summary> /// <param name="value"> /// The ITypeParameterDeclaration value to locate in this TypeParameterDeclarationCollection. /// </param> /// <returns> /// true if value is found in this TypeParameterDeclarationCollection; /// false otherwise. /// </returns> public virtual bool Contains(TypeParameterDeclaration value) { return this.List.Contains(value); }
/// <summary> /// Adds an instance of type ITypeParameterDeclaration to the end of this TypeParameterDeclarationCollection. /// </summary> /// <param name="value"> /// The ITypeParameterDeclaration to be added to the end of this TypeParameterDeclarationCollection. /// </param> public virtual void Add(TypeParameterDeclaration value) { this.List.Add(value); }
/// <summary> /// Inserts an element into the TypeParameterDeclarationCollection at the specified index /// </summary> /// <param name="index"> /// The index at which the ITypeParameterDeclaration is to be inserted. /// </param> /// <param name="value"> /// The ITypeParameterDeclaration to insert. /// </param> public virtual void Insert(int index, TypeParameterDeclaration value) { this.List.Insert(index, value); }
/// <summary> /// Removes the first occurrence of a specific ITypeParameterDeclaration from this TypeParameterDeclarationCollection. /// </summary> /// <param name="value"> /// The ITypeParameterDeclaration value to remove from this TypeParameterDeclarationCollection. /// </param> public virtual void Remove(TypeParameterDeclaration value) { this.List.Remove(value); }
/// <summary> /// Return the zero-based index of the first occurrence of a specific value /// in this TypeParameterDeclarationCollection /// </summary> /// <param name="value"> /// The ITypeParameterDeclaration value to locate in the TypeParameterDeclarationCollection. /// </param> /// <returns> /// The zero-based index of the first occurrence of the _ELEMENT value if found; /// -1 otherwise. /// </returns> public virtual int IndexOf(TypeParameterDeclaration value) { return this.List.IndexOf(value); }