View Source
  Class DeliveryApiSettingsExtensions
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public static class DeliveryApiSettingsExtensions
   
  Methods
  
  
    View Source
  
  IsAllowedContentType(DeliveryApiSettings, String)
  
  
  Declaration
  
    public static bool IsAllowedContentType(this DeliveryApiSettings settings, string contentTypeAlias)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsAllowedContentType(DeliveryApiSettings, IPublishedContent)
  
  
  Declaration
  
    public static bool IsAllowedContentType(this DeliveryApiSettings settings, IPublishedContent content)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsDisallowedContentType(DeliveryApiSettings, String)
  
  
  Declaration
  
    public static bool IsDisallowedContentType(this DeliveryApiSettings settings, string contentTypeAlias)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsDisallowedContentType(DeliveryApiSettings, IPublishedContent)
  
  
  Declaration
  
    public static bool IsDisallowedContentType(this DeliveryApiSettings settings, IPublishedContent content)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  |