TreeNodeExtensionsFromLeavesToHereDoT Method |
Executes the specified action on the provided node and recursively on all its ancestor nodes up to the root.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static void FromLeavesToHereDo<T>(
this T node,
Action<T> action
)
where T : Object, ITreeNode<T>
Parameters
- node T
- The starting node for the action execution.
- action ActionT
- The action to be executed on each node.
Type Parameters
- T
- Type of the node.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
T. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also