Click or drag to resize
HandlebarsViewEngineFindView Method
Finds the specified view by using the specified controller context.

Namespace: HandlebarsDotNet.Mvc
Assembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntax
public virtual ViewEngineResult FindView(
	ControllerContext controllerContext,
	string viewName,
	string masterName,
	bool useCache
)

Parameters

controllerContext
Type: ControllerContext
The controller context.
viewName
Type: SystemString
The name of the view.
masterName
Type: SystemString
The name of the master (layout).
useCache
Type: SystemBoolean
to specify that the view engine returns the cached view, if a cached view exists; otherwise, .

Return Value

Type: ViewEngineResult
The page view.

Implements

IViewEngine.FindView(ControllerContext, String, String, Boolean)
See Also