Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserGroupWithUsersSavedDistributedCacheNotificationHandler

    Defines a handler for a TNotification that triggers a distributed cache refresher.

    Inheritance
    System.Object
    DistributedCacheNotificationHandlerBase<IUserGroup, UserGroupWithUsersSavedNotification>
    SavedDistributedCacheNotificationHandlerBase<IUserGroup, UserGroupWithUsersSavedNotification, UserGroupWithUsers>
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class UserGroupWithUsersSavedDistributedCacheNotificationHandler : SavedDistributedCacheNotificationHandlerBase<IUserGroup, UserGroupWithUsersSavedNotification, UserGroupWithUsers>, IDistributedCacheNotificationHandler<UserGroupWithUsersSavedNotification>, INotificationHandler<UserGroupWithUsersSavedNotification>, IDistributedCacheNotificationHandler, INotificationHandler

    Constructors

    View Source

    UserGroupWithUsersSavedDistributedCacheNotificationHandler(DistributedCache)

    Initializes a new instance of the UserGroupWithUsersSavedDistributedCacheNotificationHandler class.

    Declaration
    public UserGroupWithUsersSavedDistributedCacheNotificationHandler(DistributedCache distributedCache)
    Parameters
    Type Name Description
    DistributedCache distributedCache

    The distributed cache.

    Methods

    View Source

    GetEntities(UserGroupWithUsersSavedNotification)

    Gets the entities from the specified notification.

    Declaration
    protected override IEnumerable<IUserGroup> GetEntities(UserGroupWithUsersSavedNotification notification)
    Parameters
    Type Name Description
    UserGroupWithUsersSavedNotification notification
    Returns
    Type Description
    IEnumerable<IUserGroup>

    The entities.

    View Source

    Handle(IEnumerable<IUserGroup>)

    Handles the specified entities.

    Declaration
    protected override void Handle(IEnumerable<IUserGroup> entities)
    Parameters
    Type Name Description
    IEnumerable<IUserGroup> entities
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UserGroupWithUsersSavedDistributedCacheNotificationHandler(DistributedCache)
    • Methods
      • GetEntities(UserGroupWithUsersSavedNotification)
      • Handle(IEnumerable<IUserGroup>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX