Click or drag to resize

LogicalNodeViewModelSearchSibling method

Searches for a node in a tree branch for a given index hierarchy in the "indices" stack.

Namespace: Vishnu.ViewModel
Assembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
protected LogicalNodeViewModel? SearchSibling(
	
	ObservableCollection<LogicalNodeViewModel> sourceTree,
	
	Stack<int> indices
)

Parameters

sourceTree  ObservableCollectionLogicalNodeViewModel
The branch to be searched.
indices  StackInt32
A stack with cached indices on each hierarchy level up to a target node.

Return value

LogicalNodeViewModel
A LogicalNodeViewModel found or null.
See also