New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public sealed class ActionVisitor<T> : IVisitor<T>

Inheritance: objectActionVisitor<T>

Implements: IVisitor<T>

Constructors

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

C#
public ActionVisitor(Action<T> action)
Parameters:actionAction<T>

The action.

Properties

Gets a value indicating whether this instance has completed.

C#
public bool HasCompleted { get; }
Property Value:

true if this instance has completed; otherwise, false.

Implements: IVisitor<T>.HasCompleted

Methods

Visits the specified object.

C#
public void Visit(T obj)
Parameters:objT

The object.

Implements: IVisitor<T>.Visit(T)