Class UserSavedDistributedCacheNotificationHandler
Defines a handler for a TNotification
that triggers a distributed cache refresher.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public sealed class UserSavedDistributedCacheNotificationHandler : SavedDistributedCacheNotificationHandlerBase<IUser, UserSavedNotification>, IDistributedCacheNotificationHandler<UserSavedNotification>, INotificationHandler<UserSavedNotification>, IDistributedCacheNotificationHandler, INotificationHandler
Constructors
View SourceUserSavedDistributedCacheNotificationHandler(DistributedCache)
Initializes a new instance of the UserSavedDistributedCacheNotificationHandler class.
Declaration
public UserSavedDistributedCacheNotificationHandler(DistributedCache distributedCache)
Parameters
Type | Name | Description |
---|---|---|
DistributedCache | distributedCache | The distributed cache. |
Methods
View SourceHandle(IEnumerable<IUser>)
Handles the specified entities.
Declaration
protected override void Handle(IEnumerable<IUser> entities)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IUser> | entities |