RazorParser.CreateParseTask Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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
Paramètres
- input
- TextReader
- consumer
- ParserVisitor
Retours
S’applique à
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
Paramètres
- input
- TextReader
- errorCallback
- Action<RazorError>
Retours
S’applique à
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
Paramètres
- input
- TextReader
- errorCallback
- Action<RazorError>
- cancelToken
- CancellationToken
Retours
S’applique à
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
Paramètres
- input
- TextReader
- errorCallback
- Action<RazorError>
- context
- SynchronizationContext
Retours
S’applique à
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
Paramètres
- input
- TextReader
- errorCallback
- Action<RazorError>
- context
- SynchronizationContext
- cancelToken
- CancellationToken