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