WebPageRazorHost Properties

Include Protected Members
Include Inherited Members

The WebPageRazorHost type exposes the following members.

Properties

  Name Description
Public property 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.)
Public property 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.)
Public property 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.)
Public property 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.
Public property 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.)
Public property 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.
Public property 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.)
Public property 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.)
Public property 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.)
Public property 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.)
Public property IsIndentingWithTabs Gets or sets whether the design time editor is using tabs or spaces for indentation. (Inherited from RazorEngineHost.)
Public property 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.
Public property 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.)
Public property 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.
Public property 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.)
Public property TabSize Tab size used by the hosting editor, when indenting with tabs. (Inherited from RazorEngineHost.)
Public property 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.

Top

See Also

Reference

WebPageRazorHost Class

System.Web.WebPages.Razor Namespace