MvcRazorParser 类

定义

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

public ref class MvcRazorParser : Microsoft::AspNetCore::Razor::Parser::RazorParser
public class MvcRazorParser : Microsoft.AspNetCore.Razor.Parser.RazorParser
type MvcRazorParser = class
    inherit RazorParser
Public Class MvcRazorParser
Inherits RazorParser
继承
MvcRazorParser

构造函数

MvcRazorParser(RazorParser, IReadOnlyList<ChunkTree>, IReadOnlyList<Chunk>, String)

初始化 MvcRazorParser 的新实例。

属性

DesignTimeMode

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
TagHelperDescriptorResolver

ITagHelperDescriptorResolver获取用于解析 TagHelperDescriptor的 。

(继承自 RazorParser)

方法

CreateParseTask(TextReader, Action<Span>, Action<RazorError>)

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
CreateParseTask(TextReader, Action<Span>, Action<RazorError>, CancellationToken)

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext)

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext, CancellationToken)

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
CreateParseTask(TextReader, ParserVisitor)

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
GetTagHelperDescriptors(Block, ErrorSink)

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

Parse(ITextDocument)

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
Parse(LookaheadTextReader)
已过时.

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
Parse(LookaheadTextReader, ParserVisitor)
已过时.

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
Parse(TextReader)

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)
Parse(TextReader, ParserVisitor)

RazorParser 子类型, MvcRazorHost 它使用 来支持从 _ViewImports 文件中继承标记帮助程序。

(继承自 RazorParser)

适用于