Interface IPropertyCacheCompression
Determines if a property type's value should be compressed in memory
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public interface IPropertyCacheCompression
Methods
View SourceIsCompressed(IReadOnlyContentBase, String, Boolean)
Whether a property on the content is/should be compressed
Declaration
bool IsCompressed(IReadOnlyContentBase content, string propertyTypeAlias, bool published)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyContentBase | content | The content |
System.String | propertyTypeAlias | The property to compress or not |
System.Boolean | published | Whether this content is the published version |
Returns
Type | Description |
---|---|
System.Boolean |