RazorTemplateEngine Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents an entry-point to the Razor Template Engine.
Inheritance Hierarchy
System.Object
System.Web.Razor.RazorTemplateEngine
Namespace: System.Web.Razor
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Class RazorTemplateEngine
'Usage
Dim instance As RazorTemplateEngine
public class RazorTemplateEngine
public ref class RazorTemplateEngine
type RazorTemplateEngine = class end
public class RazorTemplateEngine
The RazorTemplateEngine type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RazorTemplateEngine | 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 RazorTemplateEngine class. |
Top
Properties
Name | Description | |
---|---|---|
Host | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the RazorEngineHost which defines the environment in which the generated template code will live. |
Top
Methods
Name | Description | |
---|---|---|
CreateCodeGenerator | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a code generator. | |
CreateParser | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a RazorParser. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GenerateCode(TextReader) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer, generates code for it, and returns the constructed CodeDOM tree. | |
GenerateCode(ITextBuffer) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer, generates code for it, and returns the constructed CodeDOM tree. | |
GenerateCode(TextReader, Nullable<CancellationToken>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer, generates code for it, and returns the constructed CodeDOM tree. | |
GenerateCode(ITextBuffer, Nullable<CancellationToken>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer, generates code for it, and returns the constructed CodeDOM tree. | |
GenerateCode(TextReader, String, String, String) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer, generates code for it, and returns the constructed CodeDOM tree. | |
GenerateCode(ITextBuffer, String, String, String) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer, generates code for it, and returns the constructed CodeDOM tree. | |
GenerateCode(TextReader, String, String, String, Nullable<CancellationToken>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer, generates code for it, and returns the constructed CodeDOM tree. | |
GenerateCode(ITextBuffer, String, String, String, Nullable<CancellationToken>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer, generates code for it, and returns the constructed CodeDOM tree. | |
GenerateCodeCore | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates a code core. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ParseTemplate(TextReader) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer and returns its result. | |
ParseTemplate(ITextBuffer) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer and returns its result. | |
ParseTemplate(TextReader, Nullable<CancellationToken>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer and returns its result. | |
ParseTemplate(ITextBuffer, Nullable<CancellationToken>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template specified by the TextBuffer and returns its result. | |
ParseTemplateCore | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template core. | |
ToString | (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
DefaultClassName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the default class name of the template. | |
DefaultNamespace | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the default namespace for the template. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.