Class UserGroupWithUsersSavedDistributedCacheNotificationHandler
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Inheritance
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 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 | The notification. |
Returns
| Type | Description |
|---|---|
| IEnumerable<IUserGroup> | The entities. |
Handle(IEnumerable<IUserGroup>)
Handles the specified entities.
Declaration
[Obsolete("Scheduled for removal in Umbraco 18.")]
protected override void Handle(IEnumerable<IUserGroup> entities)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IUserGroup> | entities | The entities. |
Handle(IEnumerable<IUserGroup>, IDictionary<string, object?>)
Handles the specified entities.
Declaration
protected override void Handle(IEnumerable<IUserGroup> entities, IDictionary<string, object?> state)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IUserGroup> | entities | The entities. |
| IDictionary<string, object> | state | The notification state. |