C# Class Maverick.Web.ModuleFramework.ModuleDelegatingViewEngine

Inheritance: IViewEngine
显示文件 Open project: anurse/MaVeriCk Class Usage Examples

Public Methods

Method Description
FindPartialView ( System.Web.Mvc.ControllerContext controllerContext, string partialViewName, bool useCache ) : System.Web.Mvc.ViewEngineResult
FindView ( System.Web.Mvc.ControllerContext controllerContext, string viewName, string masterName, bool useCache ) : System.Web.Mvc.ViewEngineResult
ReleaseView ( System.Web.Mvc.ControllerContext controllerContext, IView view ) : void

Private Methods

Method Description
GetCurrentModuleRequest ( System.Web.Mvc.ControllerContext controllerContext ) : ModuleRequestResult
RunAgainstModuleViewEngines ( System.Web.Mvc.ControllerContext controllerContext, ViewEngineResult>.Func engineRequest ) : System.Web.Mvc.ViewEngineResult

Method Details

FindPartialView() public method

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

FindView() public method

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

ReleaseView() public method

public ReleaseView ( System.Web.Mvc.ControllerContext controllerContext, IView view ) : void
controllerContext System.Web.Mvc.ControllerContext
view IView
return void