Interface IDepthVisitor<T>
Describes a DFT visitor to a data structure.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public interface IDepthVisitor<in T>
Type Parameters
T
The type of objects to be visited. |
Properties
HasCompleted
Gets whether this visitor has finished.
Declaration
bool HasCompleted { get; }
Property Value
System.Boolean
|
Remarks
Assigning this value is important to break the traversals when searching.
Methods
Visit(T, Int32)
Visits the specified object.
Declaration
void Visit(T obj, int height)
Parameters
T
obj
The object to visit. |
System.Int32
height
The height in the DFT. |