Search Results for

    Show / Hide Table of Contents
    View Source

    Class MacroModel

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Macros
    Assembly: Umbraco.Core.dll
    Syntax
    public class MacroModel

    Constructors

    View Source

    MacroModel()

    Declaration
    public MacroModel()
    View Source

    MacroModel(IMacro)

    Declaration
    public MacroModel(IMacro macro)
    Parameters
    Type Name Description
    IMacro macro

    Properties

    View Source

    Alias

    The Macro Alias

    Declaration
    public string Alias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    CacheByMember

    Declaration
    public bool CacheByMember { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    CacheByPage

    Declaration
    public bool CacheByPage { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    CacheDuration

    Declaration
    public int CacheDuration { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    CacheIdentifier

    Declaration
    public string CacheIdentifier { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Id

    The Macro Id

    Declaration
    public int Id { get; set; }
    Property Value
    Type Description
    System.Int32
    View Source

    MacroSource

    Declaration
    public string MacroSource { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Name

    The Macro Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Properties

    Declaration
    public List<MacroPropertyModel> Properties { get; }
    Property Value
    Type Description
    List<MacroPropertyModel>
    View Source

    RenderInEditor

    Declaration
    public bool RenderInEditor { get; set; }
    Property Value
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MacroModel()
      • MacroModel(IMacro)
    • Properties
      • Alias
      • CacheByMember
      • CacheByPage
      • CacheDuration
      • CacheIdentifier
      • Id
      • MacroSource
      • Name
      • Properties
      • RenderInEditor
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX