Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserCacheRefresher

    Inheritance
    object
    CacheRefresherBase<UserCacheRefresherNotification>
    JsonCacheRefresherBase<UserCacheRefresherNotification, UserCacheRefresher.JsonPayload>
    PayloadCacheRefresherBase<UserCacheRefresherNotification, UserCacheRefresher.JsonPayload>
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class UserCacheRefresher : PayloadCacheRefresherBase<UserCacheRefresherNotification, UserCacheRefresher.JsonPayload>, IPayloadCacheRefresher<UserCacheRefresher.JsonPayload>, IJsonCacheRefresher, ICacheRefresher, IDiscoverable

    Constructors

    View Source

    UserCacheRefresher(AppCaches, IJsonSerializer, IEventAggregator, ICacheRefresherNotificationFactory)

    Declaration
    public UserCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
    Parameters
    Type Name Description
    AppCaches appCaches
    IJsonSerializer serializer
    IEventAggregator eventAggregator
    ICacheRefresherNotificationFactory factory

    Fields

    View Source

    UniqueId

    Declaration
    public static readonly Guid UniqueId
    Field Value
    Type Description
    Guid

    Properties

    View Source

    Name

    Gets the name of the refresher.

    Declaration
    public override string Name { get; }
    Property Value
    Type Description
    string
    View Source

    RefresherUniqueId

    Gets the unique identifier of the refresher.

    Declaration
    public override Guid RefresherUniqueId { get; }
    Property Value
    Type Description
    Guid

    Methods

    View Source

    RefreshAll()

    Refreshes all entities.

    Declaration
    public override void RefreshAll()
    View Source

    RefreshInternal(JsonPayload[])

    Refreshes internal (isolated) caches by a payload.

    Declaration
    public override void RefreshInternal(UserCacheRefresher.JsonPayload[] payloads)
    Parameters
    Type Name Description
    JsonPayload[] payloads

    The payload.

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