Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberGroupCacheRefresher

    Cache refresher for member group caches.

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

    Constructors

    View Source

    MemberGroupCacheRefresher(AppCaches, IJsonSerializer, IEventAggregator, ICacheRefresherNotificationFactory)

    Initializes a new instance of the MemberGroupCacheRefresher class.

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

    The application caches.

    IJsonSerializer jsonSerializer

    The JSON serializer.

    IEventAggregator eventAggregator

    The event aggregator.

    ICacheRefresherNotificationFactory factory

    The notification factory.

    Fields

    View Source

    UniqueId

    The unique identifier for this cache refresher.

    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

    Refresh(int)

    Refreshes an entity.

    Declaration
    public override void Refresh(int id)
    Parameters
    Type Name Description
    int id

    The entity's identifier.

    View Source

    RefreshInternal(JsonPayload[])

    Performs internal cache refresh operations for the specified payloads.

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

    The payloads to process.

    View Source

    Remove(int)

    Removes an entity.

    Declaration
    public override void Remove(int id)
    Parameters
    Type Name Description
    int id

    The entity's identifier.

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