Search Results for

    Show / Hide Table of Contents
    View Source

    Class CacheRefresherCollection

    Represents a collection of ICacheRefresher instances.

    Inheritance
    object
    BuilderCollectionBase<ICacheRefresher>
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public class CacheRefresherCollection : BuilderCollectionBase<ICacheRefresher>, IBuilderCollection<ICacheRefresher>
    Remarks

    This collection provides access to all registered cache refreshers, allowing lookup by unique identifier.

    Constructors

    View Source

    CacheRefresherCollection(Func<IEnumerable<ICacheRefresher>>)

    Initializes a new instance of the CacheRefresherCollection class.

    Declaration
    public CacheRefresherCollection(Func<IEnumerable<ICacheRefresher>> items)
    Parameters
    Type Name Description
    Func<IEnumerable<ICacheRefresher>> items

    A factory function that returns the cache refresher instances.

    Properties

    View Source

    this[Guid]

    Gets the cache refresher with the specified unique identifier.

    Declaration
    public ICacheRefresher? this[Guid id] { get; }
    Parameters
    Type Name Description
    Guid id

    The unique identifier of the cache refresher.

    Property Value
    Type Description
    ICacheRefresher

    The cache refresher with the specified identifier, or null if not found.

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