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, INotificationHandlerConstructors
View SourceUserGroupWithUsersSavedDistributedCacheNotificationHandler(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 SourceGetEntities(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. | 
Handle(IEnumerable<IUserGroup>)
Handles the specified entities.
Declaration
protected override void Handle(IEnumerable<IUserGroup> entities)Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<IUserGroup> | entities |