WebCodeRazorHost Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a web code razor host for the web pages.
public class WebCodeRazorHost : System.Web.WebPages.Razor.WebPageRazorHost
type WebCodeRazorHost = class
inherit WebPageRazorHost
Public Class WebCodeRazorHost
Inherits WebPageRazorHost
- Inheritance
Constructors
WebCodeRazorHost(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 WebCodeRazorHost class. |
WebCodeRazorHost(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 WebCodeRazorHost class. |
Properties
CodeLanguage |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the RazorCodeLanguage. (Inherited from WebPageRazorHost) |
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. (Inherited from WebPageRazorHost) |
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. (Inherited from WebPageRazorHost) |
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. (Inherited from WebPageRazorHost) |
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. (Inherited from WebPageRazorHost) |
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. (Inherited from WebPageRazorHost) |
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. (Inherited from WebPageRazorHost) |
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. (Inherited from WebPageRazorHost) |
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. (Inherited from WebPageRazorHost) |
Methods
CreateMarkupParser() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a markup parser. (Inherited from WebPageRazorHost) |
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) |
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) |
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) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the class name of this instance. |
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. (Inherited from WebPageRazorHost) |
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) |
PostProcessGeneratedCode(CodeGeneratorContext) |
Generates a post process code for the web code razor host. |
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. (Inherited from WebPageRazorHost) |
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. (Inherited from WebPageRazorHost) |