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