RenderTemplate Method

HttpServer.dll

Render a template.

Namespace:  HttpServer.Controllers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
protected string RenderTemplate(
	string controller,
	string method,
	params Object[] args
)
Visual Basic (Declaration)
Protected Function RenderTemplate ( _
	controller As String, _
	method As String, _
	ParamArray args As Object() _
) As String
Visual C++
protected:
String^ RenderTemplate(
	String^ controller, 
	String^ method, 
	... array<Object^>^ args
)

Parameters

controller
Type: System..::.String
controller name are used as a foldername when looking for the template.
method
Type: System..::.String
method are used as filename when looking for the template.
args
Type: array< System..::.Object >[]()[]
arguments that should be passed to the template.

Return Value

[Missing <returns> documentation for M:HttpServer.Controllers.ViewController.RenderTemplate(System.String,System.String,System.Object[])]

Remarks

Merges the Arguments property with the "args" parameter and pass those to the template.

See Also