Click or drag to resize
HandlebarsView Constructor
Initializes a new instance of the HandlebarsView class using the controller context and compiled view and layouts.

Namespace: HandlebarsDotNet.Mvc
Assembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntax
public HandlebarsView(
	ControllerContext controllerContext,
	CompiledView view,
	CompiledView[] layouts
)

Parameters

controllerContext
Type: ControllerContext
The controller context.
view
Type: HandlebarsDotNet.MvcCompiledView
The compiled view.
layouts
Type: HandlebarsDotNet.MvcCompiledView
The compiled layout(s) that will surround the output from the view. This can be .
See Also