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