Class
DepthActionVisitor<T>

A visitor which encloses a standard action.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Type Parameters:

T

The data type.

Syntax:

cs-api-definition
public sealed class DepthActionVisitor<T> : IDepthVisitor<T>

Inheritance: objectDepthActionVisitor<T>

Implements: IDepthVisitor<T>

Constructors

DepthActionVisitor(Action<T, int>)

Initializes a new instance of the DepthActionVisitor<T> class.

Declaration

cs-api-definition
public DepthActionVisitor(Action<T, int> action)

Parameters

action

Action<T, int>

The action.

Properties

HasCompleted

Gets a value indicating whether this instance has completed.

Declaration

cs-api-definition
public bool HasCompleted { get; }

Property Value

bool

true if this instance has completed; otherwise, false.

Implements IDepthVisitor<T>.HasCompleted

Methods

Visit(T, int)

Visits the specified object.

Declaration

cs-api-definition
public void Visit(T obj, int height)

Parameters

obj

T

The object.

height

int

The height.

Implements IDepthVisitor<T>.Visit(T, int)