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