Interface IPropertyCacheCompressionOptions
Namespace: Umbraco.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public interface IPropertyCacheCompressionOptions
Methods
View SourceIsCompressed(IReadOnlyContentBase, PropertyType, IDataEditor, Boolean)
Whether a property on the content is/should be compressed
Declaration
bool IsCompressed(IReadOnlyContentBase content, PropertyType propertyType, IDataEditor dataEditor, bool published)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyContentBase | content | The content |
PropertyType | 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 |