Search Results for

    Show / Hide Table of Contents
    View Source

    Class PropertyCacheCompression

    Compresses property data based on config

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Core.dll
    Syntax
    public class PropertyCacheCompression : IPropertyCacheCompression

    Constructors

    View Source

    PropertyCacheCompression(IPropertyCacheCompressionOptions, IReadOnlyDictionary<Int32, IContentTypeComposition>, PropertyEditorCollection, ConcurrentDictionary<(Int32, String, Boolean), Boolean>)

    Declaration
    public PropertyCacheCompression(IPropertyCacheCompressionOptions compressionOptions, IReadOnlyDictionary<int, IContentTypeComposition> contentTypes, PropertyEditorCollection propertyEditors, ConcurrentDictionary<(int, string, bool), bool> compressedStoragePropertyEditorCache)
    Parameters
    Type Name Description
    IPropertyCacheCompressionOptions compressionOptions
    IReadOnlyDictionary<System.Int32, IContentTypeComposition> contentTypes
    PropertyEditorCollection propertyEditors
    System.Collections.Concurrent.ConcurrentDictionary<System.ValueTuple<System.Int32, System.String, System.Boolean>, System.Boolean> compressedStoragePropertyEditorCache

    Methods

    View Source

    IsCompressed(IReadOnlyContentBase, String, Boolean)

    Declaration
    public bool IsCompressed(IReadOnlyContentBase content, string alias, bool published)
    Parameters
    Type Name Description
    IReadOnlyContentBase content
    System.String alias
    System.Boolean published
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PropertyCacheCompression(IPropertyCacheCompressionOptions, IReadOnlyDictionary<Int32, IContentTypeComposition>, PropertyEditorCollection, ConcurrentDictionary<(Int32, String, Boolean), Boolean>)
    • Methods
      • IsCompressed(IReadOnlyContentBase, String, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX