renders one of the layouts
Namespace:
HttpServer.Controllers
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic (Declaration) |
---|
Protected Overridable Function RenderLayout ( _
layoutName As String, _
contents As String _
) As String |
Parameters
- layoutName
- Type: System..::.String
layout to render (should be found in the "views\\layouts" folder).
- contents
- Type: System..::.String
contents will be put in the template variable called "text".
Return Value
generated text/html.
See Also