MvcWebPageRazorHost Class

Configures the Razor parser and code generator.

Inheritance Hierarchy

System. . :: . .Object
  System.Web.Razor. . :: . .RazorEngineHost
    System.Web.WebPages.Razor. . :: . .WebPageRazorHost
      System.Web.Mvc..::..MvcWebPageRazorHost

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Class MvcWebPageRazorHost _
    Inherits WebPageRazorHost
'Usage
Dim instance As MvcWebPageRazorHost
public class MvcWebPageRazorHost : WebPageRazorHost
public ref class MvcWebPageRazorHost : public WebPageRazorHost
public class MvcWebPageRazorHost extends WebPageRazorHost

The MvcWebPageRazorHost type exposes the following members.

Constructors

  Name Description
Public method MvcWebPageRazorHost Initializes a new instance of the MvcWebPageRazorHost class.

Top

Properties

  Name Description
Public property CodeLanguage (Inherited from WebPageRazorHost.)
Public property DefaultBaseClass (Inherited from WebPageRazorHost.)
Public property DefaultClassName (Inherited from WebPageRazorHost.)
Public property DefaultDebugCompilation (Inherited from WebPageRazorHost.)
Public property DefaultNamespace (Inherited from RazorEngineHost.)
Public property DefaultPageBaseClass (Inherited from WebPageRazorHost.)
Public property DesignTimeMode (Inherited from RazorEngineHost.)
Public property GeneratedClassContext (Inherited from RazorEngineHost.)
Public property IsSpecialPage (Inherited from WebPageRazorHost.)
Public property NamespaceImports (Inherited from RazorEngineHost.)
Public property PhysicalPath (Inherited from WebPageRazorHost.)
Public property VirtualPath (Inherited from WebPageRazorHost.)

Top

Methods

  Name Description
Public method CreateMarkupParser (Inherited from WebPageRazorHost.)
Public method DecorateCodeGenerator (Overrides RazorEngineHost. . :: . .DecorateCodeGenerator(RazorCodeGenerator).)
Public method DecorateCodeParser (Overrides RazorEngineHost. . :: . .DecorateCodeParser(ParserBase).)
Public method DecorateMarkupParser (Inherited from RazorEngineHost.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetClassName (Inherited from WebPageRazorHost.)
Protected method GetCodeLanguage (Inherited from WebPageRazorHost.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method PostProcessGeneratedCode (Inherited from WebPageRazorHost.)
Protected method RegisterSpecialFile(String, Type) (Inherited from WebPageRazorHost.)
Protected method RegisterSpecialFile(String, String) (Inherited from WebPageRazorHost.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Mvc Namespace