







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
Exception | Condition |
---|---|
System..::.InvalidOperationException | If the template have not been parsed first. |
HttpServer.Rendering..::.CodeGeneratorException | If template is incorrect |