RazorTemplateEngine.GenerateCode Method

Include Protected Members
Include Inherited Members

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.

Top

See Also

Reference

RazorTemplateEngine Class

System.Web.Razor Namespace