Click or drag to resize

TreeNodeExtensionsFromHereToLeavesDoT Method

Executes the specified action on the provided node and recursively on all its descendant leaves.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static void FromHereToLeavesDo<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).
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the action is null.
See Also