RazorParser.CreateParseTask Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
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
- 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
- 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
- errorCallback
- Action<RazorError>
- context
- SynchronizationContext
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
- errorCallback
- Action<RazorError>
- context
- SynchronizationContext
- cancelToken
- CancellationToken