







Will generate code from the template.
Next step is to compile the code.
Namespace:
HttpServer.Rendering
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
protected string GenerateCode( string fullPath ) |
Visual Basic (Declaration) |
---|
Protected Function GenerateCode ( _ fullPath As String _ ) As String |
Visual C++ |
---|
protected: String^ GenerateCode( String^ fullPath ) |
Parameters
- fullPath
- Type: System..::.String
Path and filename to template.
Return Value
[Missing <returns> documentation for M:HttpServer.Rendering.TemplateManager.GenerateCode(System.String)]
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | |
System.IO..::.FileNotFoundException | |
System..::.InvalidOperationException | If no template generator exists for the specified extension. |
HttpServer.Rendering..::.CodeGeneratorException | If parsing/compiling fails |