Click or drag to resize

GenericTreeTTraverse(Int32, FuncInt32, T, Object, Object, Object) method

Recursive auxiliary routine for the public routine 'Traverse'.

Namespace: NetEti.Globals
Assembly: NetEti.Global (in NetEti.Global.dll) Version: 1.0.0+ad672dc5430e1683eae7461ce3945c8e9dce1c49
Syntax
protected virtual Object? Traverse(
	
	int depth,
	
	Func<int, T, Object?, Object?> callback,
	
	Object? userParent
)

Parameters

depth  Int32
The hierarchy level.
callback  FuncInt32, T, Object, Object
The callback of type Func<int, T, object, object> to be called for each node.
userParent  Object
A user object that is recursively forwarded and modified.

Return value

Object
The top-level UserObject for the tree.
See also