Метод | Описание | |
---|---|---|
Execute ( Content currentNode, string>.IDictionary |
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, |
Gets a list of Macro parameters for the definition
|
Метод | Описание | |
---|---|---|
AbstractMacroEngine ( ) : System |
public abstract Execute ( Content currentNode, string>.IDictionary |
||
currentNode | Content | |
macroParams | string>.IDictionary | |
macro | ||
currentControllerContext | System.Web.Mvc.ControllerContext | |
routableRequestContext | IRoutableRequestContext | |
Результат | System.Web.Mvc.ActionResult |
public abstract GetMacroItems ( IBackOfficeRequestContext backOfficeRequestContext ) : IEnumerable |
||
backOfficeRequestContext | IBackOfficeRequestContext | |
Результат | IEnumerable |
public abstract GetMacroParameters ( IBackOfficeRequestContext backOfficeRequestContext, |
||
backOfficeRequestContext | IBackOfficeRequestContext | |
macroDefinition | ||
Результат | IEnumerable |