共用方式為


RazorParser 類別

定義

public ref class RazorParser
public class RazorParser
type RazorParser = class
Public Class RazorParser
繼承
RazorParser
衍生

建構函式

RazorParser(ParserBase, ParserBase, ITagHelperDescriptorResolver)

初始化 RazorParser 的新執行個體。

RazorParser(RazorParser)

從指定的 RazorParser 初始化 parser 的新執行個體。

屬性

DesignTimeMode
TagHelperDescriptorResolver

ITagHelperDescriptorResolver取得用來解析 TagHelperDescriptor 的 。

方法

CreateParseTask(TextReader, Action<Span>, Action<RazorError>)
CreateParseTask(TextReader, Action<Span>, Action<RazorError>, CancellationToken)
CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext)
CreateParseTask(TextReader, Action<Span>, Action<RazorError>, SynchronizationContext, CancellationToken)
CreateParseTask(TextReader, ParserVisitor)
GetTagHelperDescriptors(Block, ErrorSink)

針對在指定的 documentRoot 中註冊的標籤協助程式,傳回 的 TagHelperDescriptor 序列。

Parse(ITextDocument)
Parse(LookaheadTextReader)
Parse(LookaheadTextReader, ParserVisitor)
Parse(TextReader)
Parse(TextReader, ParserVisitor)

適用於