RazorParser.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:
virtual System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ GetTagHelperDescriptors(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Block ^ documentRoot, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
protected virtual System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> GetTagHelperDescriptors (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block documentRoot, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
abstract member GetTagHelperDescriptors : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block * Microsoft.AspNetCore.Razor.ErrorSink -> seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>
override this.GetTagHelperDescriptors : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block * Microsoft.AspNetCore.Razor.ErrorSink -> seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>
Protected Overridable 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