Sdílet prostřednictvím


RazorParser.CreateParseTask Metoda

Definice

Přetížení

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

CreateParseTask(TextReader, ParserVisitor)

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

Parametry

input
TextReader
consumer
ParserVisitor

Návraty

Platí pro

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

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

Parametry

input
TextReader
spanCallback
Action<Span>
errorCallback
Action<RazorError>

Návraty

Platí pro

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

public:
 virtual System::Threading::Tasks::Task ^ CreateParseTask(System::IO::TextReader ^ input, Action<Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^> ^ spanCallback, Action<Microsoft::AspNetCore::Razor::RazorError ^> ^ errorCallback, System::Threading::CancellationToken cancelToken);
public virtual System.Threading.Tasks.Task CreateParseTask (System.IO.TextReader input, Action<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span> spanCallback, Action<Microsoft.AspNetCore.Razor.RazorError> errorCallback, System.Threading.CancellationToken cancelToken);
abstract member CreateParseTask : System.IO.TextReader * Action<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span> * Action<Microsoft.AspNetCore.Razor.RazorError> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateParseTask : System.IO.TextReader * Action<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span> * Action<Microsoft.AspNetCore.Razor.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

Parametry

input
TextReader
spanCallback
Action<Span>
errorCallback
Action<RazorError>
cancelToken
CancellationToken

Návraty

Platí pro

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

public:
 virtual System::Threading::Tasks::Task ^ CreateParseTask(System::IO::TextReader ^ input, Action<Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^> ^ spanCallback, Action<Microsoft::AspNetCore::Razor::RazorError ^> ^ errorCallback, System::Threading::SynchronizationContext ^ context);
public virtual System.Threading.Tasks.Task CreateParseTask (System.IO.TextReader input, Action<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span> spanCallback, Action<Microsoft.AspNetCore.Razor.RazorError> errorCallback, System.Threading.SynchronizationContext context);
abstract member CreateParseTask : System.IO.TextReader * Action<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span> * Action<Microsoft.AspNetCore.Razor.RazorError> * System.Threading.SynchronizationContext -> System.Threading.Tasks.Task
override this.CreateParseTask : System.IO.TextReader * Action<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span> * Action<Microsoft.AspNetCore.Razor.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

Parametry

input
TextReader
spanCallback
Action<Span>
errorCallback
Action<RazorError>

Návraty

Platí pro

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

public:
 virtual System::Threading::Tasks::Task ^ CreateParseTask(System::IO::TextReader ^ input, Action<Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^> ^ spanCallback, Action<Microsoft::AspNetCore::Razor::RazorError ^> ^ errorCallback, System::Threading::SynchronizationContext ^ context, System::Threading::CancellationToken cancelToken);
public virtual System.Threading.Tasks.Task CreateParseTask (System.IO.TextReader input, Action<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span> spanCallback, Action<Microsoft.AspNetCore.Razor.RazorError> errorCallback, System.Threading.SynchronizationContext context, System.Threading.CancellationToken cancelToken);
abstract member CreateParseTask : System.IO.TextReader * Action<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span> * Action<Microsoft.AspNetCore.Razor.RazorError> * System.Threading.SynchronizationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateParseTask : System.IO.TextReader * Action<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span> * Action<Microsoft.AspNetCore.Razor.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

Parametry

input
TextReader
spanCallback
Action<Span>
errorCallback
Action<RazorError>
cancelToken
CancellationToken

Návraty

Platí pro