WebPageRazorHost Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents the razor hosts in a webpage.
System.Object
System.Web.Razor.RazorEngineHost
System.Web.WebPages.Razor.WebPageRazorHost
System.Web.WebPages.Razor.WebCodeRazorHost
System.Web.Razor.RazorEngineHost
System.Web.WebPages.Razor.WebPageRazorHost
System.Web.WebPages.Razor.WebCodeRazorHost
Assembly: System.Web.WebPages.Razor (in System.Web.WebPages.Razor.dll)
The WebPageRazorHost type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | WebPageRazorHost(String) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the WebPageRazorHost class with the specified virtual file path. |
![]() | WebPageRazorHost(String, String) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the WebPageRazorHost class with the specified virtual and physical file path. |
| Name | Description | |
|---|---|---|
![]() | CodeLanguage | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the RazorCodeLanguage. (Overrides RazorEngineHost.CodeLanguage.) |
![]() | DefaultBaseClass | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value for the DefaultBaseClass. (Overrides RazorEngineHost.DefaultBaseClass.) |
![]() | DefaultClassName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the default class. (Overrides RazorEngineHost.DefaultClassName.) |
![]() | DefaultDebugCompilation | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the debug compilation is set to default. |
![]() | DefaultNamespace | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the default namespace for the host. (Inherited from RazorEngineHost.) |
![]() | DefaultPageBaseClass | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the base class of the default page. |
![]() | DesignTimeMode | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the mode designs a time for the host. (Inherited from RazorEngineHost.) |
![]() | EnableInstrumentation | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the host that enables the instrumentation. (Inherited from RazorEngineHost.) |
![]() | GeneratedClassContext | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the generated class context for the host. (Inherited from RazorEngineHost.) |
![]() | InstrumentedSourceFilePath | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the file path of the instrumental source. (Overrides RazorEngineHost.InstrumentedSourceFilePath.) |
![]() | IsIndentingWithTabs | Gets or sets whether the design time editor is using tabs or spaces for indentation. (Inherited from RazorEngineHost.) |
![]() | IsSpecialPage | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether the webpage is a special page. |
![]() | NamespaceImports | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the namespace imports for the host. (Inherited from RazorEngineHost.) |
![]() | PhysicalPath | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the physical file system path of the razor host. |
![]() | StaticHelpers | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the static helpers for the host. (Inherited from RazorEngineHost.) |
![]() | TabSize | Tab size used by the hosting editor, when indenting with tabs. (Inherited from RazorEngineHost.) |
![]() | VirtualPath | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual file path. |
| Name | Description | |
|---|---|---|
![]() ![]() | AddGlobalImport | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a global import on the webpage. |
![]() | CreateMarkupParser | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a markup parser. (Overrides RazorEngineHost.CreateMarkupParser.) |
![]() | DecorateCodeGenerator | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the methods as language-specific Razor code generator. (Inherited from RazorEngineHost.) |
![]() | DecorateCodeParser | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the methods as language-specific Razor code parser using the specified language parser. (Inherited from RazorEngineHost.) |
![]() | DecorateMarkupParser | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the method to decorate markup parser using the specified language parser. (Inherited from RazorEngineHost.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetClassName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Retrieves the name of the class to which the specified webpage belongs. |
![]() | GetCodeLanguage | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the code language specified in the webpage. |
![]() ![]() | GetGlobalImports | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the global imports for the webpage. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | PostProcessGeneratedCode(CodeGeneratorContext) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the generated code after the process. (Overrides RazorEngineHost.PostProcessGeneratedCode(CodeGeneratorContext).) |
![]() | PostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod) | Obsolete. This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns this method to post all the processed generated code for the host. (Inherited from RazorEngineHost.) |
![]() | RegisterSpecialFile(String, String) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type name. |
![]() | RegisterSpecialFile(String, Type) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type. |
![]() | ToString | (Inherited from Object.) |
Show:
