Export (0) Print
Expand All

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.

System.Object
  System.Web.Razor.RazorTemplateEngine

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

public class RazorTemplateEngine

The RazorTemplateEngine type exposes the following members.

  NameDescription
Public methodRazorTemplateEngineThis 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

  NameDescription
Public propertyHostThis 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

  NameDescription
Protected methodCreateCodeGeneratorThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a code generator.
Protected methodCreateParserThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a RazorParser.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerateCode(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.
Public methodGenerateCode(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.
Public methodGenerateCode(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.
Public methodGenerateCode(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.
Public methodGenerateCode(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.
Public methodGenerateCode(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.
Public methodGenerateCode(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.
Public methodGenerateCode(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.
Protected methodGenerateCodeCoreThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates a code core.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodParseTemplate(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.
Public methodParseTemplate(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.
Public methodParseTemplate(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.
Public methodParseTemplate(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.
Protected methodParseTemplateCoreThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template core.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberDefaultClassNameThis 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.
Public fieldStatic memberDefaultNamespaceThis 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

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:
© 2015 Microsoft