/// <summary> /// Adds the elements of another ConsoleRowHighlightingRuleCollection to the end of this ConsoleRowHighlightingRuleCollection. /// </summary> /// <param name="items"> /// The ConsoleRowHighlightingRuleCollection whose elements are to be added to the end of this ConsoleRowHighlightingRuleCollection. /// </param> public virtual void AddRange(ConsoleRowHighlightingRuleCollection items) { foreach (ConsoleRowHighlightingRule item in items) { this.List.Add(item); } }
/// <summary> /// Adds the elements of another ConsoleRowHighlightingRuleCollection to the end of this ConsoleRowHighlightingRuleCollection. /// </summary> /// <param name="items"> /// The ConsoleRowHighlightingRuleCollection whose elements are to be added to the end of this ConsoleRowHighlightingRuleCollection. /// </param> public virtual void AddRange(ConsoleRowHighlightingRuleCollection items) { foreach (ConsoleRowHighlightingRule item in items) { this.List.Add(item); } }
/// <summary> /// Initializes a new instance of the ConsoleRowHighlightingRuleCollection class, containing elements /// copied from another instance of ConsoleRowHighlightingRuleCollection /// </summary> /// <param name="items"> /// The ConsoleRowHighlightingRuleCollection whose elements are to be added to the new ConsoleRowHighlightingRuleCollection. /// </param> public ConsoleRowHighlightingRuleCollection(ConsoleRowHighlightingRuleCollection items) { this.AddRange(items); }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(ConsoleRowHighlightingRuleCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <summary> /// Initializes a new instance of the ConsoleRowHighlightingRuleCollection class, containing elements /// copied from another instance of ConsoleRowHighlightingRuleCollection /// </summary> /// <param name="items"> /// The ConsoleRowHighlightingRuleCollection whose elements are to be added to the new ConsoleRowHighlightingRuleCollection. /// </param> public ConsoleRowHighlightingRuleCollection(ConsoleRowHighlightingRuleCollection items) { this.AddRange(items); }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(ConsoleRowHighlightingRuleCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }