Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MvcWebPageRazorHost Class

Configures the ASP.NET Razor parser and code generator for a specified file.

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

type MvcWebPageRazorHost =  
    class 
        inherit WebPageRazorHost 
    end

The MvcWebPageRazorHost type exposes the following members.

  NameDescription
Public methodMvcWebPageRazorHostInitializes a new instance of the MvcWebPageRazorHost class.
Top

  NameDescription
Public methodCreateMarkupParser (Inherited from WebPageRazorHost.)
Public methodDecorateCodeGeneratorReturns the ASP.NET MVC language-specific Razor code generator. (Overrides RazorEngineHost.DecorateCodeGenerator(RazorCodeGenerator).)
Public methodDecorateCodeParserReturns the ASP.NET MVC language-specific Razor code parser using the specified language parser. (Overrides RazorEngineHost.DecorateCodeParser(ParserBase).)
Public methodDecorateMarkupParser (Inherited from RazorEngineHost.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodGetClassName (Inherited from WebPageRazorHost.)
Protected methodGetCodeLanguage (Inherited from WebPageRazorHost.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPostProcessGeneratedCode(CodeGeneratorContext) (Inherited from WebPageRazorHost.)
Public methodPostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod) Obsolete. (Inherited from RazorEngineHost.)
Protected methodRegisterSpecialFile(String, Type) (Inherited from WebPageRazorHost.)
Protected methodRegisterSpecialFile(String, String) (Inherited from WebPageRazorHost.)
Public methodToString (Inherited from Object.)
Top

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