GenerateCode Method

HttpServer.dll

Generate C# code from the template.

Namespace:  HttpServer.Rendering.Tiny
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void GenerateCode(
	TextWriter writer
)
Visual Basic (Declaration)
Public Sub GenerateCode ( _
	writer As TextWriter _
)
Visual C++
public:
virtual void GenerateCode(
	TextWriter^ writer
) sealed

Parameters

writer
Type: System.IO..::.TextWriter
A textwriter that the generated code will be written to.

Implements

TemplateGenerator..::.GenerateCode(TextWriter)

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionIf the template have not been parsed first.
HttpServer.Rendering..::.CodeGeneratorExceptionIf template is incorrect

See Also