C# 클래스 Rebel.Cms.Web.Macros.AbstractMacroEngine

Abstract class representing a MacroEngine
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
Execute ( Content currentNode, string>.IDictionary macroParams, MacroDefinition macro, System.Web.Mvc.ControllerContext currentControllerContext, IRoutableRequestContext routableRequestContext ) : System.Web.Mvc.ActionResult

Executes the macro engine to render the macro

GetMacroItems ( IBackOfficeRequestContext backOfficeRequestContext ) : IEnumerable

Returns the macro items that can be used by this Engine

Each MacroEngine may render different items, such as PartialViews or ChildActions or Xslt files, Python files, etc... The Value set for each of the select list items will be the value passed into the MacroEngine's Execute method as the SelectedItem property of the MacroDefinition.

GetMacroParameters ( IBackOfficeRequestContext backOfficeRequestContext, MacroDefinition macroDefinition ) : IEnumerable

Gets a list of Macro parameters for the definition

보호된 메소드들

메소드 설명
AbstractMacroEngine ( ) : System

메소드 상세

AbstractMacroEngine() 보호된 메소드

protected AbstractMacroEngine ( ) : System
리턴 System

Execute() 공개 추상적인 메소드

Executes the macro engine to render the macro
public abstract Execute ( Content currentNode, string>.IDictionary macroParams, MacroDefinition macro, System.Web.Mvc.ControllerContext currentControllerContext, IRoutableRequestContext routableRequestContext ) : System.Web.Mvc.ActionResult
currentNode Content
macroParams string>.IDictionary
macro MacroDefinition
currentControllerContext System.Web.Mvc.ControllerContext
routableRequestContext IRoutableRequestContext
리턴 System.Web.Mvc.ActionResult

GetMacroItems() 공개 추상적인 메소드

Returns the macro items that can be used by this Engine
Each MacroEngine may render different items, such as PartialViews or ChildActions or Xslt files, Python files, etc... The Value set for each of the select list items will be the value passed into the MacroEngine's Execute method as the SelectedItem property of the MacroDefinition.
public abstract GetMacroItems ( IBackOfficeRequestContext backOfficeRequestContext ) : IEnumerable
backOfficeRequestContext IBackOfficeRequestContext
리턴 IEnumerable

GetMacroParameters() 공개 추상적인 메소드

Gets a list of Macro parameters for the definition
public abstract GetMacroParameters ( IBackOfficeRequestContext backOfficeRequestContext, MacroDefinition macroDefinition ) : IEnumerable
backOfficeRequestContext IBackOfficeRequestContext
macroDefinition MacroDefinition
리턴 IEnumerable