コード例 #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);
     }
 }
コード例 #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);
 }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(NLogViewerParameterInfoCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
コード例 #4
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);
 }
コード例 #5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(NLogViewerParameterInfoCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
コード例 #6
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);
     }
 }