Inheritance: System.Collections.CollectionBase
Ejemplo n.º 1
0
 /// <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);
     }
 }
Ejemplo n.º 2
0
 /// <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);
     }
 }
Ejemplo n.º 3
0
 /// <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);
 }
Ejemplo n.º 4
0
 public Enumerator(LoggerConfigCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Ejemplo n.º 5
0
 /// <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);
 }
Ejemplo n.º 6
0
 public Enumerator(LoggerConfigCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }