RazorParser.CreateParseTask Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
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
Parameter
- input
- TextReader
- consumer
- ParserVisitor
Gibt zurück
Gilt für:
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
Parameter
- input
- TextReader
- errorCallback
- Action<RazorError>
Gibt zurück
Gilt für:
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
Parameter
- input
- TextReader
- errorCallback
- Action<RazorError>
- cancelToken
- CancellationToken
Gibt zurück
Gilt für:
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
Parameter
- input
- TextReader
- errorCallback
- Action<RazorError>
- context
- SynchronizationContext
Gibt zurück
Gilt für:
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
Parameter
- input
- TextReader
- errorCallback
- Action<RazorError>
- context
- SynchronizationContext
- cancelToken
- CancellationToken