MvcRazorParser.GetTagHelperDescriptors(Block, ErrorSink) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a sequence of TagHelperDescriptors for tag helpers that are registered in the
specified documentRoot
.
protected:
override System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ GetTagHelperDescriptors(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Block ^ documentRoot, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
protected override System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> GetTagHelperDescriptors (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block documentRoot, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
override this.GetTagHelperDescriptors : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block * Microsoft.AspNetCore.Razor.ErrorSink -> seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>
Protected Overrides Function GetTagHelperDescriptors (documentRoot As Block, errorSink As ErrorSink) As IEnumerable(Of TagHelperDescriptor)
Parameters
- errorSink
- ErrorSink
Used to manage RazorErrors encountered during the Razor parsing phase.
Returns
TagHelperDescriptors that are applicable to the documentRoot
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for