







![]() ![]() |
C# Webserver |
TemplateGenerator..::.GenerateCode Method |
TemplateGenerator Interface See Also Send Feedback |
Generate C# code from the template.
Namespace:
HttpServer.Rendering
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
void GenerateCode( TextWriter writer ) |
Visual Basic (Declaration) |
---|
Sub GenerateCode ( _ writer As TextWriter _ ) |
Visual C++ |
---|
void GenerateCode( TextWriter^ writer ) |
Parameters
- writer
- Type: System.IO..::.TextWriter
A textwriter that the generated code will be written to.
Exceptions
Exception | Condition |
---|---|
System..::.InvalidOperationException | If the template have not been parsed first. |
HttpServer.Rendering..::.CodeGeneratorException | If template is incorrect |