Search Results for

    Show / Hide Table of Contents
    View Source

    Class PartialViewMacroModel

    The model used when rendering Partial View Macros

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.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
    IDictionary<System.String, System.Object> macroParams

    Properties

    View Source

    Content

    Declaration
    public IPublishedContent Content { get; }
    Property Value
    Type Description
    IPublishedContent
    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
    IDictionary<System.String, System.Object>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PartialViewMacroModel(IPublishedContent, Int32, String, String, IDictionary<String, Object>)
    • Properties
      • Content
      • MacroAlias
      • MacroId
      • MacroName
      • MacroParameters
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX