Export (0) Print
Expand All

RazorEngineHost Class

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

Represents the generated code for the razor engine host.

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

public class RazorEngineHost

The RazorEngineHost type exposes the following members.

  NameDescription
Protected methodRazorEngineHost()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 RazorEngineHost class.
Public methodRazorEngineHost(RazorCodeLanguage)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 RazorEngineHost class.
Public methodRazorEngineHost(RazorCodeLanguage, Func<ParserBase>)Initializes a new instance of the RazorEngineHost class.
Top

  NameDescription
Public propertyCodeLanguageThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the languages supported by the code generator.
Public propertyDefaultBaseClassThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the default base class for the host.
Public propertyDefaultClassNameThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the default class name for the host.
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.
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.
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.
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.
Public propertyInstrumentedSourceFilePathThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the instrumented source file path for the host.
Public propertyIsIndentingWithTabsGets or sets whether the design time editor is using tabs or spaces for indentation.
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.
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.
Public propertyTabSizeTab size used by the hosting editor, when indenting with tabs.
Top

  NameDescription
Public methodCreateMarkupParserThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a markup parser using the specified language parser for the RazorEngineHost.
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.
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.
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.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
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.Returns this method to post all the processed generated code for the host.
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.
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