RazorParser.CreateParseTask Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
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
Zwraca
Dotyczy
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
- errorCallback
- Action<RazorError>
Zwraca
Dotyczy
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
- errorCallback
- Action<RazorError>
- cancelToken
- CancellationToken
Zwraca
Dotyczy
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
- errorCallback
- Action<RazorError>
- context
- SynchronizationContext
Zwraca
Dotyczy
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
- errorCallback
- Action<RazorError>
- context
- SynchronizationContext
- cancelToken
- CancellationToken