Interface IPropertyCacheCompressionOptions
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public interface IPropertyCacheCompressionOptions
  Methods
View SourceIsCompressed(IReadOnlyContentBase, IPropertyType, IDataEditor, Boolean)
Whether a property on the content is/should be compressed
Declaration
bool IsCompressed(IReadOnlyContentBase content, IPropertyType propertyType, IDataEditor dataEditor, bool published)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IReadOnlyContentBase | content | The content  | 
      
| IPropertyType | propertyType | The property to compress or not  | 
      
| IDataEditor | dataEditor | The datatype of the property to compress or not  | 
      
| System.Boolean | published | Whether this content is the published version  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean |