 | IPathsProviderGetPartialsFolders Method |
Gets the folders for where the partials files can be for the given ControllerContext.
The paths returned are in the form "~/Views/_Partials/".
Namespace: HandlebarsDotNet.MvcAssembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
SyntaxIEnumerable<string> GetPartialsFolders(
ControllerContext controllerContext
)
Function GetPartialsFolders (
controllerContext As ControllerContext
) As IEnumerable(Of String)
IEnumerable<String^>^ GetPartialsFolders(
ControllerContext^ controllerContext
)
abstract GetPartialsFolders :
controllerContext : ControllerContext -> IEnumerable<string>
Parameters
- controllerContext
- Type: ControllerContext
The ControllerContext for the current request.
Return Value
Type:
IEnumerableStringReturns an ordered
IEnumerable<string> with the paths for HandlebarsViewEngine to check.
See Also