Click or drag to resize
HandlebarsViewEngineCreateView Method
Creates an IView instance that is ready to be rendered.

Namespace: HandlebarsDotNet.Mvc
Assembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntax
protected virtual IView CreateView(
	ControllerContext controllerContext,
	CompiledView compiledView,
	CompiledView[] layouts
)

Parameters

controllerContext
Type: ControllerContext
The controller context.
compiledView
Type: HandlebarsDotNet.MvcCompiledView
The compiled view. The compiledView.Layout property is not used.
layouts
Type: HandlebarsDotNet.MvcCompiledView
The compiled layouts that will surround the view.

Return Value

Type: IView
An IView instance.
Remarks
The default implementation simply creates a HandlebarsView using the arguments provided.
See Also