Share via


CallbackVisitor Constructors

Definition

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

spanCallback
Action<Span>

The delegate for the span visit.

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

spanCallback
Action<Span>

The delegate for the span visit.

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

spanCallback
Action<Span>

The delegate for the span visit.

errorCallback
Action<RazorError>

The delegate for the error visit.

startBlockCallback
Action<BlockType>

The delegate for the start block visit.

endBlockCallback
Action<BlockType>

The delegate for the end block 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

spanCallback
Action<Span>

The delegate for the span visit.

errorCallback
Action<RazorError>

The delegate for the error visit.

startBlockCallback
Action<BlockType>

The delegate for the start block visit.

endBlockCallback
Action<BlockType>

The delegate for the end block visit.

completeCallback
Action

The delegate to execute for the complete event.

Applies to