RazorEngine


TemplateWriter

Defined in RazorEngine.dll.

Defines a template writer used for helper templates.

Constructors

ConstructorDescription
new(writer)
Signature: writer:Action<TextWriter> -> unit

Initialises a new instance of TemplateWriter.

Instance members

Instance memberDescription
ToString()
Signature: unit -> string
Modifiers: abstract

Executes the write delegate and returns the result of this TemplateWriter.

Returns: The string result of the helper template.

WriteTo(writer)
Signature: writer:TextWriter -> unit

Writes the helper result of the specified text writer.

Fork me on GitHub