Метод | Описание | |
---|---|---|
FindPartialView ( ControllerContext controllerContext, string partialViewName, bool useCache ) : System.Web.Mvc.ViewEngineResult | ||
FindView ( ControllerContext controllerContext, string viewName, string masterName, bool useCache ) : System.Web.Mvc.ViewEngineResult | ||
RenderViewEngine ( RebelSettings settings, IRenderModelFactory renderModelFactory ) : System.Collections.Generic |
Constructor
|
Метод | Описание | |
---|---|---|
ShouldFindView ( ControllerContext controllerContext, bool isPartial ) : bool |
Determines if the view should be found, this is used for view lookup performance and also to ensure less overlap with other user's view engines. This will return true if the Rebel back office is rendering and its a partial view or if the rebel front-end is rendering but nothing else.
|
public FindPartialView ( ControllerContext controllerContext, string partialViewName, bool useCache ) : System.Web.Mvc.ViewEngineResult | ||
controllerContext | ControllerContext | |
partialViewName | string | |
useCache | bool | |
Результат | System.Web.Mvc.ViewEngineResult |
public FindView ( ControllerContext controllerContext, string viewName, string masterName, bool useCache ) : System.Web.Mvc.ViewEngineResult | ||
controllerContext | ControllerContext | |
viewName | string | |
masterName | string | |
useCache | bool | |
Результат | System.Web.Mvc.ViewEngineResult |
public RenderViewEngine ( RebelSettings settings, IRenderModelFactory renderModelFactory ) : System.Collections.Generic | ||
settings | RebelSettings | |
renderModelFactory | IRenderModelFactory | |
Результат | System.Collections.Generic |