CallbackVisitor Class

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.

System.Object
  System.Web.Razor.Parser.ParserVisitor
    System.Web.Razor.Parser.CallbackVisitor

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

public class CallbackVisitor : ParserVisitor

The CallbackVisitor type exposes the following members.

  NameDescription
Public methodCallbackVisitor(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.
Public methodCallbackVisitor(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.
Public methodCallbackVisitor(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.
Public methodCallbackVisitor(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.
Top

  NameDescription
Public propertyCancelTokenThis 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.)
Public propertySynchronizationContextThis 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.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnCompleteThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Overrides ParserVisitor.OnComplete().)
Public methodThrowIfCanceledThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from ParserVisitor.)
Public methodToString (Inherited from Object.)
Public methodVisitBlockThis 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.)
Public methodVisitEndBlockThis 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. (Overrides ParserVisitor.VisitEndBlock(Block).)
Public methodVisitErrorThis 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. (Overrides ParserVisitor.VisitError(RazorError).)
Public methodVisitSpanThis 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. (Overrides ParserVisitor.VisitSpan(Span).)
Public methodVisitStartBlockThis 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. (Overrides ParserVisitor.VisitStartBlock(Block).)
Top

  NameDescription
Public Extension MethodVisit (Defined by ParserVisitorExtensions.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: