/// <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()); } } }
public EnumerableReportNodes(ReportNodeEnumerator <T> enumerator) { _enumerator = enumerator; }