RazorParser.CreateParseTask RazorParser.CreateParseTask RazorParser.CreateParseTask Method

Definition

Overloads

CreateParseTask(TextReader, ParserVisitor) CreateParseTask(TextReader, ParserVisitor) CreateParseTask(TextReader, ParserVisitor)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

CreateParseTask(TextReader, Action<Span>, Action<RazorError>) CreateParseTask(TextReader, Action<Span>, Action<RazorError>) CreateParseTask(TextReader, Action<Span>, Action<RazorError>)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

CreateParseTask(TextReader, Action<Span>, Action<RazorError>, CancellationToken) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, CancellationToken) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, CancellationToken)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext, CancellationToken) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext, CancellationToken) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext, CancellationToken)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

CreateParseTask(TextReader, ParserVisitor) CreateParseTask(TextReader, ParserVisitor) CreateParseTask(TextReader, ParserVisitor)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

public virtual System.Threading.Tasks.Task CreateParseTask (System.IO.TextReader input, System.Web.Razor.Parser.ParserVisitor consumer);
abstract member CreateParseTask : System.IO.TextReader * System.Web.Razor.Parser.ParserVisitor -> System.Threading.Tasks.Task
override this.CreateParseTask : System.IO.TextReader * System.Web.Razor.Parser.ParserVisitor -> System.Threading.Tasks.Task
Public Overridable Function CreateParseTask (input As TextReader, consumer As ParserVisitor) As Task
Parameters
input
TextReader TextReader TextReader

The object to parse.

consumer
ParserVisitor ParserVisitor ParserVisitor

The consumer.

Returns

The created Task.

CreateParseTask(TextReader, Action<Span>, Action<RazorError>) CreateParseTask(TextReader, Action<Span>, Action<RazorError>) CreateParseTask(TextReader, Action<Span>, Action<RazorError>)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

public virtual System.Threading.Tasks.Task CreateParseTask (System.IO.TextReader input, Action<System.Web.Razor.Parser.SyntaxTree.Span> spanCallback, Action<System.Web.Razor.Parser.SyntaxTree.RazorError> errorCallback);
abstract member CreateParseTask : System.IO.TextReader * Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> -> System.Threading.Tasks.Task
override this.CreateParseTask : System.IO.TextReader * Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> -> System.Threading.Tasks.Task
Public Overridable Function CreateParseTask (input As TextReader, spanCallback As Action(Of Span), errorCallback As Action(Of RazorError)) As Task
Parameters
input
TextReader TextReader TextReader

The object to parse.

spanCallback
Action<Span>

The span callback.

errorCallback
Action<RazorError>

The error callback.

Returns

The created Task.

CreateParseTask(TextReader, Action<Span>, Action<RazorError>, CancellationToken) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, CancellationToken) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, CancellationToken)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

public virtual System.Threading.Tasks.Task CreateParseTask (System.IO.TextReader input, Action<System.Web.Razor.Parser.SyntaxTree.Span> spanCallback, Action<System.Web.Razor.Parser.SyntaxTree.RazorError> errorCallback, System.Threading.CancellationToken cancelToken);
abstract member CreateParseTask : System.IO.TextReader * Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateParseTask : System.IO.TextReader * Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CreateParseTask (input As TextReader, spanCallback As Action(Of Span), errorCallback As Action(Of RazorError), cancelToken As CancellationToken) As Task
Parameters
input
TextReader TextReader TextReader

The object to parse.

spanCallback
Action<Span>

The span callback.

errorCallback
Action<RazorError>

The error callback.

cancelToken
CancellationToken CancellationToken CancellationToken

The cancellation token.

Returns

The created Task.

CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

public virtual System.Threading.Tasks.Task CreateParseTask (System.IO.TextReader input, Action<System.Web.Razor.Parser.SyntaxTree.Span> spanCallback, Action<System.Web.Razor.Parser.SyntaxTree.RazorError> errorCallback, System.Threading.SynchronizationContext context);
abstract member CreateParseTask : System.IO.TextReader * Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> * System.Threading.SynchronizationContext -> System.Threading.Tasks.Task
override this.CreateParseTask : System.IO.TextReader * Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> * System.Threading.SynchronizationContext -> System.Threading.Tasks.Task
Public Overridable Function CreateParseTask (input As TextReader, spanCallback As Action(Of Span), errorCallback As Action(Of RazorError), context As SynchronizationContext) As Task
Parameters
input
TextReader TextReader TextReader

The object to parse.

spanCallback
Action<Span>

The span callback.

errorCallback
Action<RazorError>

The error callback.

Returns

The created Task.

CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext, CancellationToken) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext, CancellationToken) CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext, CancellationToken)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a task that parses a specified object.

public virtual System.Threading.Tasks.Task CreateParseTask (System.IO.TextReader input, Action<System.Web.Razor.Parser.SyntaxTree.Span> spanCallback, Action<System.Web.Razor.Parser.SyntaxTree.RazorError> errorCallback, System.Threading.SynchronizationContext context, System.Threading.CancellationToken cancelToken);
abstract member CreateParseTask : System.IO.TextReader * Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> * System.Threading.SynchronizationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateParseTask : System.IO.TextReader * Action<System.Web.Razor.Parser.SyntaxTree.Span> * Action<System.Web.Razor.Parser.SyntaxTree.RazorError> * System.Threading.SynchronizationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CreateParseTask (input As TextReader, spanCallback As Action(Of Span), errorCallback As Action(Of RazorError), context As SynchronizationContext, cancelToken As CancellationToken) As Task
Parameters
input
TextReader TextReader TextReader

The object to parse.

spanCallback
Action<Span>

The span callback.

errorCallback
Action<RazorError>

The error callback.

cancelToken
CancellationToken CancellationToken CancellationToken

The cancellation token.

Returns

The created Task.

Applies to