Click or drag to resize

LogicalNodeViewModeltraverse method

Recursive auxiliary routine for the public routine 'Traverse'.

Namespace: Vishnu.ViewModel
Assembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
protected virtual Object? traverse(
	
	int depth,
	
	Func<int, IExpandableNode, Object?, Object?> callback,
	
	Object? userObject
)

Parameters

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

Return value

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