Interface IVisitor<T>
Describes a visitor to a data structure.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public interface IVisitor<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)
Visits the specified object.
Declaration
void Visit(T obj)
Parameters
T
obj
The object to visit. |