MvcRazorParser.GetTagHelperDescriptors(Block, ErrorSink) 方法

定义

为在指定的 documentRoot中注册的标记帮助程序返回 的序列TagHelperDescriptor

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)

参数

documentRoot
Block

Block 扫描标记帮助程序注册的 。

errorSink
ErrorSink

用于管理 RazorError在 Razor 分析阶段遇到的 。

返回

TagHelperDescriptor适用于 documentRoot

适用于