2021-01-28 13:50:18 +11:00
|
|
|
|
using Umbraco.Core.Models;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Core.PropertyEditors
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Default implementation for <see cref="IPropertyCacheCompressionOptions"/> which does not compress any property data
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
internal class NoopPropertyCacheCompressionOptions : IPropertyCacheCompressionOptions
|
|
|
|
|
|
{
|
2021-07-10 14:25:26 +02:00
|
|
|
|
public bool IsCompressed(IReadOnlyContentBase content, PropertyType propertyType, IDataEditor dataEditor, bool published) => false;
|
2021-01-28 13:50:18 +11:00
|
|
|
|
}
|
|
|
|
|
|
}
|