C# Class CompiledHandlebars.ViewEngine.CompiledHandlebarsViewEngine

Inheritance: System.Web.Mvc.VirtualPathProviderViewEngine
显示文件 Open project: Noxum/CompiledHandlebars

Private Properties

Property Type Description
EnsureVirtualPathPrefixToLower string

Public Methods

Method Description
CompiledHandlebarsViewEngine ( Assembly assembly ) : System
FindPartialView ( ControllerContext controllerContext, string partialViewName, bool useCache ) : System.Web.Mvc.ViewEngineResult
FindView ( ControllerContext controllerContext, string viewName, string masterName, bool useCache ) : System.Web.Mvc.ViewEngineResult

Protected Methods

Method Description
CreatePartialView ( ControllerContext controllerContext, string partialPath ) : IView
CreateView ( ControllerContext controllerContext, string viewPath, string masterPath ) : IView
FileExists ( ControllerContext controllerContext, string virtualPath ) : bool

Private Methods

Method Description
EnsureVirtualPathPrefixToLower ( string virtualPath ) : string

Method Details

CompiledHandlebarsViewEngine() public method

public CompiledHandlebarsViewEngine ( Assembly assembly ) : System
assembly System.Reflection.Assembly
return System

CreatePartialView() protected method

protected CreatePartialView ( ControllerContext controllerContext, string partialPath ) : IView
controllerContext ControllerContext
partialPath string
return IView

CreateView() protected method

protected CreateView ( ControllerContext controllerContext, string viewPath, string masterPath ) : IView
controllerContext ControllerContext
viewPath string
masterPath string
return IView

FileExists() protected method

protected FileExists ( ControllerContext controllerContext, string virtualPath ) : bool
controllerContext ControllerContext
virtualPath string
return bool

FindPartialView() public method

public FindPartialView ( ControllerContext controllerContext, string partialViewName, bool useCache ) : System.Web.Mvc.ViewEngineResult
controllerContext ControllerContext
partialViewName string
useCache bool
return System.Web.Mvc.ViewEngineResult

FindView() public method

public FindView ( ControllerContext controllerContext, string viewName, string masterName, bool useCache ) : System.Web.Mvc.ViewEngineResult
controllerContext ControllerContext
viewName string
masterName string
useCache bool
return System.Web.Mvc.ViewEngineResult