CallbackVisitor Constructors
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.
Overloads
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. |
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.
public CallbackVisitor(Action<System.Web.Razor.Parser.SyntaxTree.Span> spanCallback);
new System.Web.Razor.Parser.CallbackVisitor : Action<System.Web.Razor.Parser.SyntaxTree.Span> -> System.Web.Razor.Parser.CallbackVisitor
Public Sub New (spanCallback As Action(Of Span))
Parameters
Applies to
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.
public CallbackVisitor(Action<System.Web.Razor.Parser.SyntaxTree.Span> spanCallback, Action<System.Web.Razor.Parser.SyntaxTree.RazorError> errorCallback);
new System.Web.Razor.Parser.CallbackVisitor : Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> -> System.Web.Razor.Parser.CallbackVisitor
Public Sub New (spanCallback As Action(Of Span), errorCallback As Action(Of RazorError))
Parameters
- errorCallback
- Action<RazorError>
The delegate for the error visit.
Applies to
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.
public CallbackVisitor(Action<System.Web.Razor.Parser.SyntaxTree.Span> spanCallback, Action<System.Web.Razor.Parser.SyntaxTree.RazorError> errorCallback, Action<System.Web.Razor.Parser.SyntaxTree.BlockType> startBlockCallback, Action<System.Web.Razor.Parser.SyntaxTree.BlockType> endBlockCallback);
new System.Web.Razor.Parser.CallbackVisitor : Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> * Action<System.Web.Razor.Parser.SyntaxTree.BlockType> * Action<System.Web.Razor.Parser.SyntaxTree.BlockType> -> System.Web.Razor.Parser.CallbackVisitor
Public Sub New (spanCallback As Action(Of Span), errorCallback As Action(Of RazorError), startBlockCallback As Action(Of BlockType), endBlockCallback As Action(Of BlockType))
Parameters
- errorCallback
- Action<RazorError>
The delegate for the error visit.
Applies to
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.
public CallbackVisitor(Action<System.Web.Razor.Parser.SyntaxTree.Span> spanCallback, Action<System.Web.Razor.Parser.SyntaxTree.RazorError> errorCallback, Action<System.Web.Razor.Parser.SyntaxTree.BlockType> startBlockCallback, Action<System.Web.Razor.Parser.SyntaxTree.BlockType> endBlockCallback, Action completeCallback);
new System.Web.Razor.Parser.CallbackVisitor : Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> * Action<System.Web.Razor.Parser.SyntaxTree.BlockType> * Action<System.Web.Razor.Parser.SyntaxTree.BlockType> * Action -> System.Web.Razor.Parser.CallbackVisitor
Public Sub New (spanCallback As Action(Of Span), errorCallback As Action(Of RazorError), startBlockCallback As Action(Of BlockType), endBlockCallback As Action(Of BlockType), completeCallback As Action)
Parameters
- errorCallback
- Action<RazorError>
The delegate for the error visit.
- completeCallback
- Action
The delegate to execute for the complete event.