ParserResults Constructores

Definición

Sobrecargas

ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Crea instancias de una nueva ParserResults instancia de.

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

Crea instancias de una nueva ParserResults instancia de.

ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Crea instancias de una nueva ParserResults instancia de.

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

BlockPara el árbol de sintaxis.

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

Los TagHelperDescriptor s que se aplican al documento de Razor actual.

errorSink
ErrorSink

ErrorSinkQue se usa para recopilar RazorError los objetos encontrados al analizar el documento de Razor actual.

Se aplica a

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

Crea instancias de una nueva ParserResults instancia de.

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 si el análisis se realizó correctamente; de lo contrario, false .

document
Block

BlockPara el árbol de sintaxis.

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

Los TagHelperDescriptor s que se aplican al documento de Razor actual.

errorSink
ErrorSink

ErrorSinkQue se usa para recopilar RazorError los objetos encontrados al analizar el documento de Razor actual.

Se aplica a