RazorTemplateEngine Class

Definition

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.

public class RazorTemplateEngine
type RazorTemplateEngine = class
Public Class RazorTemplateEngine
Inheritance
RazorTemplateEngine

Constructors

RazorTemplateEngine(RazorEngineHost)

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.

Fields

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.

Properties

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.

Methods

CreateCodeGenerator(String, String, String)

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.

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(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(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(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.

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(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(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(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.

GenerateCodeCore(ITextDocument, String, String, String, Nullable<CancellationToken>)

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

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(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.

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(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.

ParseTemplateCore(ITextDocument, Nullable<CancellationToken>)

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

Applies to