Freigeben über


ParserResults Konstruktoren

Definition

Überlädt

ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Instanziiert eine neue ParserResults instance.

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

Instanziiert eine neue ParserResults instance.

ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Instanziiert eine neue ParserResults instance.

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)

Parameter

document
Block

Der Block für die Syntaxstruktur.

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

Die TagHelperDescriptors, die für das aktuelle Razor-Dokument gelten.

errorSink
ErrorSink

Die ErrorSink , die zum Sammeln RazorErrorvon s verwendet wird, die beim Analysieren des aktuellen Razor-Dokuments gefunden wurden.

Gilt für:

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

Instanziiert eine neue ParserResults instance.

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)

Parameter

success
Boolean

true , wenn die Analyse erfolgreich war, false andernfalls.

document
Block

Der Block für die Syntaxstruktur.

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

Die TagHelperDescriptors, die für das aktuelle Razor-Dokument gelten.

errorSink
ErrorSink

Die ErrorSink , die zum Sammeln RazorErrorvon s verwendet wird, die beim Analysieren des aktuellen Razor-Dokuments gefunden wurden.

Gilt für: