Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ICacheReferencedEntities

    Optionally implemented by property editors, this defines a contract for caching entities that are referenced in block values.

    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Core.dll
    Syntax
    [Obsolete("This interface is available for support of request caching retrieved entities in property value editors that implement it. The intention is to supersede this with lazy loaded read locks, which will make this unnecessary. Scheduled for removal in Umbraco 19.")]
    public interface ICacheReferencedEntities

    Methods

    View Source

    CacheReferencedEntities(IEnumerable<object>)

    Caches the entities referenced by the provided block data values.

    Declaration
    [Obsolete("This method is available for support of request caching retrieved entities in derived property value editors. The intention is to supersede this with lazy loaded read locks, which will make this unnecessary. Scheduled for removal in Umbraco 19.")]
    void CacheReferencedEntities(IEnumerable<object> values)
    Parameters
    Type Name Description
    IEnumerable<object> values

    An enumerable collection of block values that may contain the entities to be cached.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX