Converts the tree traversable to an "enumerable" of tree nodes, using depth first traversal.
Syntax
Parameters
- source
- The tree traversable to be converted to an enumerable.
The value of this parameter cannot be null
(Nothing
in Visual Basic).
Type Parameters
- T
- The type of objects to traverse.
Return Value
Returns a sequence of tree nodes created by visiting the nodes of using the traversal algorithm specified by
OpcLabs.BaseLib.Graphs.TreeTraversalType.
This method never returns null
(Nothing
in Visual Basic).
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also