'Declaration Public Shared Function CollectLeafNodes(Of T)( _ ByVal members As IEnumerable(Of T), _ ByVal isLeaf As Func(Of T,Boolean), _ ByVal getChildren As Func(Of T,IEnumerable(Of T)), _ Optional ByVal leavesFirst As Boolean _ ) As IEnumerable(Of T)
public static IEnumerable<T> CollectLeafNodes<T>( IEnumerable<T> members, Func<T,bool> isLeaf, Func<T,IEnumerable<T>> getChildren, bool leavesFirst )
Parameters
- members
- isLeaf
- function that checks whether the current tablix member is a leaf
- getChildren
- function that gets the children of the current tablix member
- leavesFirst
Type Parameters
- T