Export (0) Print
Expand All

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.

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

public class WebPageRazorHost : RazorEngineHost

The WebPageRazorHost type exposes the following members.

  NameDescription
Public methodWebPageRazorHost(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.
Public methodWebPageRazorHost(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.
Top

  NameDescription
Public propertyCodeLanguageThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the RazorCodeLanguage. (Overrides RazorEngineHost.CodeLanguage.)
Public propertyDefaultBaseClassThis 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.)
Public propertyDefaultClassNameThis 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.)
Public propertyDefaultDebugCompilationThis 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.
Public propertyDefaultNamespaceThis 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.)
Public propertyDefaultPageBaseClassThis 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.
Public propertyDesignTimeModeThis 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.)
Public propertyEnableInstrumentationThis 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.)
Public propertyGeneratedClassContextThis 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.)
Public propertyInstrumentedSourceFilePathThis 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.)
Public propertyIsIndentingWithTabsGets or sets whether the design time editor is using tabs or spaces for indentation. (Inherited from RazorEngineHost.)
Public propertyIsSpecialPageThis 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.
Public propertyNamespaceImportsThis 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.)
Public propertyPhysicalPathThis 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.
Public propertyStaticHelpersThis 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.)
Public propertyTabSizeTab size used by the hosting editor, when indenting with tabs. (Inherited from RazorEngineHost.)
Public propertyVirtualPathThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual file path.
Top

  NameDescription
Public methodStatic memberAddGlobalImportThis 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.
Public methodCreateMarkupParserThis 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().)
Public methodDecorateCodeGeneratorThis 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.)
Public methodDecorateCodeParserThis 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.)
Public methodDecorateMarkupParserThis 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.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodGetClassNameThis 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.
Protected methodGetCodeLanguageThis 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.
Public methodStatic memberGetGlobalImportsThis 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.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPostProcessGeneratedCode(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).)
Public methodPostProcessGeneratedCode(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.)
Protected methodRegisterSpecialFile(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.
Protected methodRegisterSpecialFile(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.
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:
© 2014 Microsoft