 | GenericTreeTTraverse(Int32, FuncInt32, T, Object, Object, Object) method |
Recursive auxiliary routine for the public routine 'Traverse'.
Namespace: NetEti.GlobalsAssembly: NetEti.Global (in NetEti.Global.dll) Version: 1.0.0+ad672dc5430e1683eae7461ce3945c8e9dce1c49
Syntaxprotected virtual Object? Traverse(
int depth,
Func<int, T, Object?, Object?> callback,
Object? userParent
)
Protected Overridable Function Traverse (
depth As Integer,
callback As Func(Of Integer, T, Object, Object),
userParent As Object
) As Object
protected:
virtual Object^ Traverse(
int depth,
Func<int, T, Object^, Object^>^ callback,
Object^ userParent
)
abstract Traverse :
depth : int *
callback : Func<int, 'T, Object, Object> *
userParent : Object -> Object
override Traverse :
depth : int *
callback : Func<int, 'T, Object, Object> *
userParent : Object -> Object
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
ObjectThe top-level UserObject for the tree.
See also