MvcWebPageRazorHost Class
Configures the ASP.NET Razor parser and code generator for a specified file.
Inheritance Hierarchy
System.Object
System.Web.Razor.RazorEngineHost
System.Web.WebPages.Razor.WebPageRazorHost
System.Web.Mvc.Razor.MvcWebPageRazorHost
Namespace: System.Web.Mvc.Razor
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 | |
---|---|---|
MvcWebPageRazorHost | Initializes a new instance of the MvcWebPageRazorHost class. |
Top
Properties
Name | Description | |
---|---|---|
CodeLanguage | (Inherited from WebPageRazorHost.) | |
DefaultBaseClass | (Inherited from WebPageRazorHost.) | |
DefaultClassName | (Inherited from WebPageRazorHost.) | |
DefaultDebugCompilation | (Inherited from WebPageRazorHost.) | |
DefaultNamespace | (Inherited from RazorEngineHost.) | |
DefaultPageBaseClass | (Inherited from WebPageRazorHost.) | |
DesignTimeMode | (Inherited from RazorEngineHost.) | |
GeneratedClassContext | (Inherited from RazorEngineHost.) | |
IsSpecialPage | (Inherited from WebPageRazorHost.) | |
NamespaceImports | (Inherited from RazorEngineHost.) | |
PhysicalPath | (Inherited from WebPageRazorHost.) | |
StaticHelpers | (Inherited from RazorEngineHost.) | |
VirtualPath | (Inherited from WebPageRazorHost.) |
Top
Methods
Name | Description | |
---|---|---|
CreateMarkupParser | (Inherited from WebPageRazorHost.) | |
DecorateCodeGenerator | Returns the ASP.NET MVC language-specific Razor code generator. (Overrides RazorEngineHost.DecorateCodeGenerator(RazorCodeGenerator).) | |
DecorateCodeParser | Returns the ASP.NET MVC language-specific Razor code parser using the specified language parser. (Overrides RazorEngineHost.DecorateCodeParser(ParserBase).) | |
DecorateMarkupParser | (Inherited from RazorEngineHost.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetClassName | (Inherited from WebPageRazorHost.) | |
GetCodeLanguage | (Inherited from WebPageRazorHost.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
PostProcessGeneratedCode | (Inherited from WebPageRazorHost.) | |
RegisterSpecialFile(String, Type) | (Inherited from WebPageRazorHost.) | |
RegisterSpecialFile(String, String) | (Inherited from WebPageRazorHost.) | |
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.