ParserResults Constructeurs
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
| ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink) |
Instancie une nouvelle ParserResults instance. |
| ParserResults(Boolean, Block, IEnumerable<TagHelperDescriptor>, ErrorSink) |
Instancie une nouvelle ParserResults instance. |
ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)
Instancie une nouvelle 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)
Paramètres
- tagHelperDescriptors
- IEnumerable<TagHelperDescriptor>
s TagHelperDescriptorqui s’appliquent au document Razor actuel.
- errorSink
- ErrorSink
ErrorSink utilisé pour collecter RazorErrorles s rencontrés lors de l’analyse du document Razor actuel.
S’applique à
ParserResults(Boolean, Block, IEnumerable<TagHelperDescriptor>, ErrorSink)
Instancie une nouvelle 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)
Paramètres
- success
- Boolean
true si l’analyse a réussi, false sinon.
- tagHelperDescriptors
- IEnumerable<TagHelperDescriptor>
s TagHelperDescriptorqui s’appliquent au document Razor actuel.
- errorSink
- ErrorSink
ErrorSink utilisé pour collecter RazorErrorles s rencontrés lors de l’analyse du document Razor actuel.