Share via


MvcRazorParser Class

Definition

A subtype of RazorParser that MvcRazorHost uses to support inheritance of tag helpers from _ViewImports files.

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
Inheritance
MvcRazorParser

Constructors

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

Initializes a new instance of MvcRazorParser.

Properties

DesignTimeMode (Inherited from RazorParser)
TagHelperDescriptorResolver

Gets the ITagHelperDescriptorResolver used to resolve TagHelperDescriptors.

(Inherited from RazorParser)

Methods

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

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

Parse(ITextDocument) (Inherited from RazorParser)
Parse(LookaheadTextReader, ParserVisitor)
Obsolete.
(Inherited from RazorParser)
Parse(LookaheadTextReader)
Obsolete.
(Inherited from RazorParser)
Parse(TextReader, ParserVisitor) (Inherited from RazorParser)
Parse(TextReader) (Inherited from RazorParser)

Applies to