WebPageRazorHost WebPageRazorHost WebPageRazorHost Class

Definition

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.

public class WebPageRazorHost : System.Web.Razor.RazorEngineHost
type WebPageRazorHost = class
    inherit RazorEngineHost
Public Class WebPageRazorHost
Inherits RazorEngineHost
Inheritance
WebPageRazorHostWebPageRazorHostWebPageRazorHost
Derived

Constructors

WebPageRazorHost(String) WebPageRazorHost(String) 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) WebPageRazorHost(String, String) 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.

Properties

CodeLanguage CodeLanguage CodeLanguage

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the RazorCodeLanguage.

DefaultBaseClass DefaultBaseClass 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.

DefaultClassName DefaultClassName 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.

DefaultDebugCompilation DefaultDebugCompilation 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 DefaultNamespace 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 DefaultPageBaseClass 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 DesignTimeMode 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 EnableInstrumentation 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 GeneratedClassContext 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 InstrumentedSourceFilePath 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.

IsIndentingWithTabs IsIndentingWithTabs IsIndentingWithTabs

Gets or sets whether the design time editor is using tabs or spaces for indentation.

(Inherited from RazorEngineHost)
IsSpecialPage IsSpecialPage 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 NamespaceImports 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 PhysicalPath 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 StaticHelpers 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 TabSize TabSize

Tab size used by the hosting editor, when indenting with tabs.

(Inherited from RazorEngineHost)
VirtualPath VirtualPath 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.

Methods

AddGlobalImport(String) AddGlobalImport(String) AddGlobalImport(String)

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() CreateMarkupParser() CreateMarkupParser()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a markup parser.

DecorateCodeGenerator(RazorCodeGenerator) DecorateCodeGenerator(RazorCodeGenerator) DecorateCodeGenerator(RazorCodeGenerator)

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(ParserBase) DecorateCodeParser(ParserBase) DecorateCodeParser(ParserBase)

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(ParserBase) DecorateMarkupParser(ParserBase) DecorateMarkupParser(ParserBase)

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)
GetClassName(String) GetClassName(String) GetClassName(String)

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() GetCodeLanguage() 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() GetGlobalImports() 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.

PostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod) PostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod) PostProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod)

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)
PostProcessGeneratedCode(CodeGeneratorContext) PostProcessGeneratedCode(CodeGeneratorContext) 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.

RegisterSpecialFile(String, String) RegisterSpecialFile(String, String) 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) RegisterSpecialFile(String, Type) 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.

Applies to