Share via


MvcCSharpRazorCodeParser Class

Definition

Compiles ASP.NET Razor views into classes.

public class MvcCSharpRazorCodeParser : System.Web.Razor.Parser.CSharpCodeParser
type MvcCSharpRazorCodeParser = class
    inherit CSharpCodeParser
Public Class MvcCSharpRazorCodeParser
Inherits CSharpCodeParser
Inheritance

Constructors

MvcCSharpRazorCodeParser()

Initializes a new instance of the MvcCSharpRazorCodeParser() class.

Methods

InheritsDirective()

The inherits directive.

ModelDirective()

The model directive.

Applies to