◆ GetAllDecendantsList()

void GetAllDecendantsList ( IList< Node genericListInterface,
bool  groupByLevel = true 
)
Parameters
genericListInterfaceThe List to which nodes may be added.
groupByLevelIf true, then items will be added to the list in level or generational order. (children, grand-children, great-grand-children,...) If false, each child branch will be fully explored, before recursing back to a higher/older generation.
Exceptions
System.ArgumentNullExceptionThrown when the passed genericListInterface is null

References SerializableTreeBase< T >.Node.childCount, SerializableTreeBase< T >.Node.GetChild(), SerializableTreeBase< T >.Node.GetSiblingIndex(), and SerializableTreeBase< T >.Node.parent.

Referenced by SerializableTreeBase< T >.CopyNode(), SerializableTreeBase< T >.Node.AllDecendantsEnumerator.GetEnumerator(), SerializableTreeBase< T >.Node.NodeAndAllDecendantsEnumerator.GetEnumerator(), SerializableTreeBase< T >.Node.AllDecendantsByLevelEnumerator.GetEnumerator(), and SerializableTreeBase< T >.Node.NodeAndAllDecendantsByLevelEnumerator.GetEnumerator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: