ParserResults Konstruktory

Definice

Přetížení

ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Vytvoří instanci nové ParserResults instance.

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

Vytvoří instanci nové ParserResults instance.

ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Vytvoří instanci nové 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)

Parametry

document
Block

BlockPro strom syntaxe.

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

TagHelperDescriptorS, které platí pro aktuální dokument Razor.

errorSink
ErrorSink

Bylo ErrorSink použito ke shromáždění RazorError s při analýze aktuálního dokumentu Razor.

Platí pro

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

Vytvoří instanci nové 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)

Parametry

success
Boolean

hodnota true , pokud bylo analýza úspěšné, jinak false .

document
Block

BlockPro strom syntaxe.

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

TagHelperDescriptorS, které platí pro aktuální dokument Razor.

errorSink
ErrorSink

Bylo ErrorSink použito ke shromáždění RazorError s při analýze aktuálního dokumentu Razor.

Platí pro