C# 클래스 Rebel.Cms.Web.Mvc.ViewEngines.RenderViewEngine

A view engine to look into the template location specified in the config for the front-end/Rendering part of the cms, this includes paths to render partial macros and media item templates.
상속: System.Web.Mvc.RazorViewEngine
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
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.

메소드 상세

FindPartialView() 공개 메소드

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

FindView() 공개 메소드

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

RenderViewEngine() 공개 메소드

Constructor
public RenderViewEngine ( RebelSettings settings, IRenderModelFactory renderModelFactory ) : System.Collections.Generic
settings RebelSettings
renderModelFactory IRenderModelFactory
리턴 System.Collections.Generic