View Source
  Class MacroModel
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
  Constructors
  
  
    View Source
  
  MacroModel()
  
  
  Declaration
  
  
    View Source
  
  MacroModel(IMacro)
  
  
  Declaration
  
    public MacroModel(IMacro macro)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | IMacro | macro |  | 
    
  
  Properties
  
  
    View Source
  
  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
  
  
  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
  
  
  Declaration
  
    public string Name { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  Properties
  
  
  Declaration
  
    public List<MacroPropertyModel> Properties { get; }
   
  Property Value
  
  
    View Source
  
  RenderInEditor
  
  
  Declaration
  
    public bool RenderInEditor { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  |