CallbackVisitor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for