Class BlockListTemplateExtensions
  
  
  
    - Namespace
 - Umbraco.Extensions
 
  - Assembly
 - Umbraco.Web.Common.dll
 
   
  
  
  
    public static class BlockListTemplateExtensions
   
  
    - Inheritance
 
    - 
      
      
BlockListTemplateExtensions
     
  
  
    - Inherited Members
 
    - 
    
    
    
    
    
    
    
  
 
  Fields
  
  DefaultFolder
  
  
  
  
  
    public const string DefaultFolder = "blocklist/"
   
  Field Value
  
    - string
 
    
  
  
  DefaultTemplate
  
  
  
  
  
    public const string DefaultTemplate = "default"
   
  Field Value
  
    - string
 
    
  
  Methods
  
  
  GetBlockListHtml(IHtmlHelper, BlockListModel?, string)
  
  
  
  
  
    public static IHtmlContent GetBlockListHtml(this IHtmlHelper html, BlockListModel? model, string template = "default")
   
  Parameters
  
    html IHtmlHelper 
    
    model BlockListModel 
    
    template string 
    
  
  Returns
  
    - IHtmlContent
 
    
  
  
  
  GetBlockListHtml(IHtmlHelper, IPublishedContent, string)
  
  
  
  
  
    public static IHtmlContent GetBlockListHtml(this IHtmlHelper html, IPublishedContent contentItem, string propertyAlias)
   
  Parameters
  
    html IHtmlHelper 
    
    contentItem IPublishedContent 
    
    propertyAlias string 
    
  
  Returns
  
    - IHtmlContent
 
    
  
  
  
  GetBlockListHtml(IHtmlHelper, IPublishedContent, string, string)
  
  
  
  
  
    public static IHtmlContent GetBlockListHtml(this IHtmlHelper html, IPublishedContent contentItem, string propertyAlias, string template)
   
  Parameters
  
    html IHtmlHelper 
    
    contentItem IPublishedContent 
    
    propertyAlias string 
    
    template string 
    
  
  Returns
  
    - IHtmlContent
 
    
  
  
  
  GetBlockListHtml(IHtmlHelper, IPublishedProperty, string)
  
  
  
  
  
    public static IHtmlContent GetBlockListHtml(this IHtmlHelper html, IPublishedProperty property, string template = "default")
   
  Parameters
  
    html IHtmlHelper 
    
    property IPublishedProperty 
    
    template string 
    
  
  Returns
  
    - IHtmlContent
 
    
  
  
  
  GetBlockListHtmlAsync(IHtmlHelper, BlockListModel?, string)
  
  
  
  
  
    public static Task<IHtmlContent> GetBlockListHtmlAsync(this IHtmlHelper html, BlockListModel? model, string template = "default")
   
  Parameters
  
    html IHtmlHelper 
    
    model BlockListModel 
    
    template string 
    
  
  Returns
  
    - Task<IHtmlContent>
 
    
  
  
  
  GetBlockListHtmlAsync(IHtmlHelper, IPublishedContent, string)
  
  
  
  
  
    public static Task<IHtmlContent> GetBlockListHtmlAsync(this IHtmlHelper html, IPublishedContent contentItem, string propertyAlias)
   
  Parameters
  
    html IHtmlHelper 
    
    contentItem IPublishedContent 
    
    propertyAlias string 
    
  
  Returns
  
    - Task<IHtmlContent>
 
    
  
  
  
  GetBlockListHtmlAsync(IHtmlHelper, IPublishedContent, string, string)
  
  
  
  
  
    public static Task<IHtmlContent> GetBlockListHtmlAsync(this IHtmlHelper html, IPublishedContent contentItem, string propertyAlias, string template)
   
  Parameters
  
    html IHtmlHelper 
    
    contentItem IPublishedContent 
    
    propertyAlias string 
    
    template string 
    
  
  Returns
  
    - Task<IHtmlContent>
 
    
  
  
  
  GetBlockListHtmlAsync(IHtmlHelper, IPublishedProperty, string)
  
  
  
  
  
    public static Task<IHtmlContent> GetBlockListHtmlAsync(this IHtmlHelper html, IPublishedProperty property, string template = "default")
   
  Parameters
  
    html IHtmlHelper 
    
    property IPublishedProperty 
    
    template string 
    
  
  Returns
  
    - Task<IHtmlContent>