Share via


CallbackVisitor Class

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Represents a visitor that executes a callback upon the completion of a visit.

public class CallbackVisitor : System.Web.Razor.Parser.ParserVisitor
type CallbackVisitor = class
    inherit ParserVisitor
Public Class CallbackVisitor
Inherits ParserVisitor
Inheritance
CallbackVisitor

Constructors

CallbackVisitor(Action<Span>)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the CallbackVisitor class.

CallbackVisitor(Action<Span>, Action<RazorError>)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the CallbackVisitor class.

CallbackVisitor(Action<Span>, Action<RazorError>, Action<BlockType>, Action<BlockType>)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the CallbackVisitor class.

CallbackVisitor(Action<Span>, Action<RazorError>, Action<BlockType>, Action<BlockType>, Action)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the CallbackVisitor class.

Properties

CancelToken

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the cancellation token.

(Inherited from ParserVisitor)
SynchronizationContext

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the synchronization context for this callback visitor.

Methods

OnComplete()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

ThrowIfCanceled()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

(Inherited from ParserVisitor)
VisitBlock(Block)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the specified block.

(Inherited from ParserVisitor)
VisitEndBlock(Block)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Executes the visitor callback to visit the end block.

VisitError(RazorError)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Executes the visitor callback to visit the error.

VisitSpan(Span)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Executes the visitor callback to visit the span.

VisitStartBlock(Block)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Executes the visitor callback to visit the start block.

Extension Methods

Visit(ParserVisitor, ParserResults)

Applies to