Click or drag to resize
HandlebarsViewEngineFindPartialView Method
Finds the specified partial 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 FindPartialView(
	ControllerContext controllerContext,
	string partialViewName,
	bool useCache
)

Parameters

controllerContext
Type: ControllerContext
The controller context.
partialViewName
Type: SystemString
The name of the partial view.
useCache
Type: SystemBoolean
to specify that the view engine returns the cached view, if a cached view exists; otherwise, .

Return Value

Type: ViewEngineResult
The partial view.

Implements

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