







Generate html code from the template.
Code is encapsed in <% and <%=
Namespace:
HttpServer.Rendering.Haml
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public void GenerateHtml( TextWriter writer ) |
| Visual Basic (Declaration) |
|---|
Public Sub GenerateHtml ( _ writer As TextWriter _ ) |
| Visual C++ |
|---|
public: void GenerateHtml( 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 |
