예제 #1
0
 /// <summary>
 /// Merges the specified <see cref="ReportNodeEnumerator{T}"/> instance <paramref name="src"/>
 /// to the current <see cref="ReportNodeEnumerator{T}"/> by appending all the enum items from the source.
 /// </summary>
 /// <param name="src">The source <see cref="ReportNodeEnumerator{T}"/> instance to be merged to this instance.</param>
 public void Merge(ReportNodeEnumerator <T> src)
 {
     if (src != null)
     {
         foreach (EnumItem item in src._list)
         {
             _list.Add(item.Clone());
         }
     }
 }
예제 #2
0
 public EnumerableReportNodes(ReportNodeEnumerator <T> enumerator)
 {
     _enumerator = enumerator;
 }