







Compiles the specified code.
Namespace:
HttpServer.Rendering
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
protected TinyTemplate Compile( string code, TemplateArguments arguments, string templateId ) |
Visual Basic (Declaration) |
---|
Protected Function Compile ( _ code As String, _ arguments As TemplateArguments, _ templateId As String _ ) As TinyTemplate |
Visual C++ |
---|
protected: TinyTemplate^ Compile( String^ code, TemplateArguments^ arguments, String^ templateId ) |
Parameters
- code
- Type: System..::.String
c# code generated from a template.
- arguments
- Type: HttpServer.Rendering..::.TemplateArguments
Arguments as in name, value, name, value, name, value
- templateId
- Type: System..::.String
Required by TemplateCompiler.Compile to identify the compiled template
Return Value
Template
Exceptions
Exception | Condition |
---|---|
HttpServer.Rendering..::.CompileException | If compilation fails |