Méthode | Description | |
---|---|---|
Execute ( Content currentNode, string>.IDictionary |
||
GetMacroItems ( IBackOfficeRequestContext backOfficeRequestContext ) : IEnumerable |
Returns all of the PartialViews that can be used for Macros, including all partial views existing in the standard Rebel partials folder and also the ones found inside of packages. Package PartialViews will be prefixed with the Package name '.' |
|
GetMacroParameters ( IBackOfficeRequestContext backOfficeRequestContext, |
Returns the PartialView Macro parameters Partial view macro parameters are determined by getting an instance of the partial view and looking for it's publicly declared properties which are done by declaring a region in Razor like so: @functions { public int Age {get;set;} } |
|
PartialViewMacroEngine ( ) : System |
Méthode | Description | |
---|---|---|
GetFullViewPath ( |
Returns the full view path without the extension
|
public Execute ( Content currentNode, string>.IDictionary |
||
currentNode | Content | |
macroParams | string>.IDictionary | |
macro | ||
currentControllerContext | ControllerContext | |
routableRequestContext | IRoutableRequestContext | |
Résultat | System.Web.Mvc.ActionResult |
protected GetFullViewPath ( |
||
macro | ||
routableRequestContext | IRoutableRequestContext | |
Résultat | string |
public GetMacroItems ( IBackOfficeRequestContext backOfficeRequestContext ) : IEnumerable |
||
backOfficeRequestContext | IBackOfficeRequestContext | |
Résultat | IEnumerable |
public GetMacroParameters ( IBackOfficeRequestContext backOfficeRequestContext, |
||
backOfficeRequestContext | IBackOfficeRequestContext | |
macroDefinition | ||
Résultat | IEnumerable |