RazorParser Class

Definition

public ref class RazorParser
public class RazorParser
type RazorParser = class
Public Class RazorParser
Inheritance
RazorParser
Derived

Constructors

RazorParser(ParserBase, ParserBase, ITagHelperDescriptorResolver)

Initializes a new instance of RazorParser.

RazorParser(RazorParser)

Initializes a new instance of RazorParser from the specified parser.

Properties

DesignTimeMode
TagHelperDescriptorResolver

Gets the ITagHelperDescriptorResolver used to resolve TagHelperDescriptors.

Methods

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)

Returns a sequence of TagHelperDescriptors for tag helpers that are registered in the specified documentRoot.

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

Applies to