 | IPathsProviderGetLayoutFolders Method |
Gets the folders for where the layout files can be for the given ControllerContext.
The paths returned are in the form "~/Views/_Layouts/".
Namespace: HandlebarsDotNet.MvcAssembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
SyntaxIEnumerable<string> GetLayoutFolders(
ControllerContext controllerContext
)
Function GetLayoutFolders (
controllerContext As ControllerContext
) As IEnumerable(Of String)
IEnumerable<String^>^ GetLayoutFolders(
ControllerContext^ controllerContext
)
abstract GetLayoutFolders :
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