 | HandlebarsViewEngineFindPartialView Method |
Finds the specified partial view by using the specified controller context.
Namespace: HandlebarsDotNet.MvcAssembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntaxpublic virtual ViewEngineResult FindPartialView(
ControllerContext controllerContext,
string partialViewName,
bool useCache
)
Public Overridable Function FindPartialView (
controllerContext As ControllerContext,
partialViewName As String,
useCache As Boolean
) As ViewEngineResult
public:
virtual ViewEngineResult^ FindPartialView(
ControllerContext^ controllerContext,
String^ partialViewName,
bool useCache
)
abstract FindPartialView :
controllerContext : ControllerContext *
partialViewName : string *
useCache : bool -> ViewEngineResult
override FindPartialView :
controllerContext : ControllerContext *
partialViewName : string *
useCache : bool -> ViewEngineResult
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:
ViewEngineResultThe partial view.
Implements
IViewEngine.FindPartialView(ControllerContext, String, Boolean)
See Also