Class UserGroupWithUsersSavedDistributedCacheNotificationHandler
Defines a handler for a TNotification
that triggers a distributed cache refresher.
Inheritance
System.Object
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 SourceUserGroupWithUsersSavedDistributedCacheNotificationHandler(DistributedCache)
Initializes a new instance of the User
Declaration
public UserGroupWithUsersSavedDistributedCacheNotificationHandler(DistributedCache distributedCache)
Parameters
Type | Name | Description |
---|---|---|
Distributed |
distributedCache | The distributed cache. |
Methods
View SourceGetEntities(UserGroupWithUsersSavedNotification)
Gets the entities from the specified notification.
Declaration
protected override IEnumerable<IUserGroup> GetEntities(UserGroupWithUsersSavedNotification notification)
Parameters
Type | Name | Description |
---|---|---|
User |
notification |
Returns
Type | Description |
---|---|
IEnumerable<IUser |
The entities. |
Handle(IEnumerable<IUserGroup>)
Handles the specified entities.
Declaration
protected override void Handle(IEnumerable<IUserGroup> entities)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IUser |
entities |