Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserGroupCacheRefresher

    Handles User group cache invalidation/refreshing

    Inheritance
    object
    CacheRefresherBase<UserGroupCacheRefresherNotification>
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class UserGroupCacheRefresher : CacheRefresherBase<UserGroupCacheRefresherNotification>, ICacheRefresher, IDiscoverable
    Remarks

    This also needs to clear the user cache since IReadOnlyUserGroup's are attached to IUser objects

    Constructors

    View Source

    UserGroupCacheRefresher(AppCaches, IEventAggregator, ICacheRefresherNotificationFactory)

    Declaration
    public UserGroupCacheRefresher(AppCaches appCaches, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
    Parameters
    Type Name Description
    AppCaches appCaches
    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

    Refresh(int)

    Refreshes an entity.

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

    The entity's identifier.

    View Source

    RefreshAll()

    Refreshes all entities.

    Declaration
    public override void RefreshAll()
    View Source

    Remove(int)

    Removes an entity.

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

    The entity's identifier.

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