Click or drag to resize
IPathsProvider Interface
The interface used by HandlebarsViewEngine when getting the different paths.

Namespace: HandlebarsDotNet.Mvc
Assembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntax
public interface IPathsProvider

The IPathsProvider type exposes the following members.

Methods
  NameDescription
Public methodGetLayoutFolders
Gets the folders for where the layout files can be for the given ControllerContext. The paths returned are in the form "~/Views/_Layouts/".
Public methodGetPartialsFolders
Gets the folders for where the partials files can be for the given ControllerContext. The paths returned are in the form "~/Views/_Partials/".
Public methodGetViewFolders
Gets the folders for where the view files can be for the given ControllerContext. The paths returned are in the form "~/Views/Home/".
Top
Remarks
Unless an implementation is provided when creating the HandlebarsViewEngine, the DefaultPathsProvider is used.
See Also