View Source
Class PartialViewMacroModel
The model used when rendering Partial View Macros
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class PartialViewMacroModel : IContentModel
Constructors
View Source
PartialViewMacroModel(IPublishedContent, Int32, String, String, IDictionary<String, Object>)
Declaration
public PartialViewMacroModel(IPublishedContent page, int macroId, string macroAlias, string macroName, IDictionary<string, object> macroParams)
Parameters
Type |
Name |
Description |
IPublishedContent |
page |
|
System.Int32 |
macroId |
|
System.String |
macroAlias |
|
System.String |
macroName |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
macroParams |
|
Properties
View Source
Content
Declaration
public IPublishedContent Content { get; }
Property Value
View Source
MacroAlias
Declaration
public string MacroAlias { get; }
Property Value
Type |
Description |
System.String |
|
View Source
MacroId
Declaration
public int MacroId { get; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
MacroName
Declaration
public string MacroName { get; }
Property Value
Type |
Description |
System.String |
|
View Source
MacroParameters
Declaration
public IDictionary<string, object> MacroParameters { get; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|