RazorTemplateEngine RazorTemplateEngine 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
RazorTemplateEngineRazorTemplateEngineRazorTemplateEngine

Constructors

RazorTemplateEngine(RazorEngineHost) RazorTemplateEngine(RazorEngineHost) 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 DefaultClassName 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 DefaultNamespace 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 Host 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) CreateCodeGenerator(String, String, String) 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() CreateParser() 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, String, String, String, Nullable<CancellationToken>) GenerateCode(ITextBuffer, String, String, String, Nullable<CancellationToken>) 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, String, String, String, Nullable<CancellationToken>) GenerateCode(TextReader, String, String, String, Nullable<CancellationToken>) 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) GenerateCode(ITextBuffer, String, String, String) 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) GenerateCode(TextReader, String, String, String) 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, Nullable<CancellationToken>) GenerateCode(TextReader, Nullable<CancellationToken>) 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) GenerateCode(ITextBuffer) 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) GenerateCode(TextReader) 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, Nullable<CancellationToken>) GenerateCode(ITextBuffer, Nullable<CancellationToken>) 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.

GenerateCodeCore(ITextDocument, String, String, String, Nullable<CancellationToken>) GenerateCodeCore(ITextDocument, String, String, String, Nullable<CancellationToken>) 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, Nullable<CancellationToken>) ParseTemplate(ITextBuffer, Nullable<CancellationToken>) 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) ParseTemplate(TextReader) 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) ParseTemplate(ITextBuffer) 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>) ParseTemplate(TextReader, Nullable<CancellationToken>) 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>) ParseTemplateCore(ITextDocument, Nullable<CancellationToken>) 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