Click or drag to resize
DefaultPathsProviderGetLayoutFolders 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.Mvc
Assembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntax
public virtual IEnumerable<string> GetLayoutFolders(
	ControllerContext controllerContext
)

Parameters

controllerContext
Type: ControllerContext
The ControllerContext for the current request.

Return Value

Type: IEnumerableString
Returns an ordered IEnumerable<string> with the paths for HandlebarsViewEngine to check.

Implements

IPathsProviderGetLayoutFolders(ControllerContext)
See Also