Partilhar via


ParserResults Construtores

Definição

Sobrecargas

ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Instancia uma nova ParserResults instância.

ParserResults(Boolean, Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Instancia uma nova ParserResults instância.

ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Instancia uma nova ParserResults instância.

public:
 ParserResults(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Block ^ document, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ tagHelperDescriptors, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
public ParserResults (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block document, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> tagHelperDescriptors, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
new Microsoft.AspNetCore.Razor.ParserResults : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block * seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> * Microsoft.AspNetCore.Razor.ErrorSink -> Microsoft.AspNetCore.Razor.ParserResults
Public Sub New (document As Block, tagHelperDescriptors As IEnumerable(Of TagHelperDescriptor), errorSink As ErrorSink)

Parâmetros

document
Block

O Block para a árvore de sintaxe.

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

Os TagHelperDescriptors que se aplicam ao documento razor atual.

errorSink
ErrorSink

O ErrorSink usado para coletar RazorErrors encontrados ao analisar o documento razor atual.

Aplica-se a

ParserResults(Boolean, Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Instancia uma nova ParserResults instância.

protected:
 ParserResults(bool success, Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Block ^ document, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ tagHelperDescriptors, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
protected ParserResults (bool success, Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block document, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> tagHelperDescriptors, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
new Microsoft.AspNetCore.Razor.ParserResults : bool * Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block * seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> * Microsoft.AspNetCore.Razor.ErrorSink -> Microsoft.AspNetCore.Razor.ParserResults
Protected Sub New (success As Boolean, document As Block, tagHelperDescriptors As IEnumerable(Of TagHelperDescriptor), errorSink As ErrorSink)

Parâmetros

success
Boolean

true se a análise tiver sido bem-sucedida, false caso contrário.

document
Block

O Block para a árvore de sintaxe.

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

Os TagHelperDescriptors que se aplicam ao documento razor atual.

errorSink
ErrorSink

O ErrorSink usado para coletar RazorErrors encontrados ao analisar o documento razor atual.

Aplica-se a