Class UserNotificationsHandler
Inheritance
object
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
public sealed class UserNotificationsHandler : INotificationHandler<ContentSavedNotification>, INotificationHandler<ContentSortedNotification>, INotificationHandler<ContentPublishedNotification>, INotificationHandler<ContentMovedNotification>, INotificationHandler<ContentMovedToRecycleBinNotification>, INotificationHandler<ContentCopiedNotification>, INotificationHandler<ContentRolledBackNotification>, INotificationHandler<ContentUnpublishedNotification>, INotificationHandler<AssignedUserGroupPermissionsNotification>, INotificationHandler<PublicAccessEntrySavedNotification>, INotificationHandler
Constructors
View SourceUserNotificationsHandler(Notifier, ActionCollection, IContentService)
Declaration
public UserNotificationsHandler(UserNotificationsHandler.Notifier notifier, ActionCollection actions, IContentService contentService)
Parameters
| Type | Name | Description |
|---|---|---|
| UserNotificationsHandler.Notifier | notifier | |
| ActionCollection | actions | |
| IContentService | contentService |
Methods
View SourceHandle(AssignedUserGroupPermissionsNotification)
Handles a notification.
Declaration
public void Handle(AssignedUserGroupPermissionsNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| AssignedUserGroupPermissionsNotification | notification | The notification. |
Handle(ContentCopiedNotification)
Handles a notification.
Declaration
public void Handle(ContentCopiedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentCopiedNotification | notification | The notification. |
Handle(ContentMovedNotification)
Handles a notification.
Declaration
public void Handle(ContentMovedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentMovedNotification | notification | The notification. |
Handle(ContentMovedToRecycleBinNotification)
Handles a notification.
Declaration
public void Handle(ContentMovedToRecycleBinNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentMovedToRecycleBinNotification | notification | The notification. |
Handle(ContentPublishedNotification)
Handles a notification.
Declaration
public void Handle(ContentPublishedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentPublishedNotification | notification | The notification. |
Handle(ContentRolledBackNotification)
Handles a notification.
Declaration
public void Handle(ContentRolledBackNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentRolledBackNotification | notification | The notification. |
Handle(ContentSavedNotification)
Handles a notification.
Declaration
public void Handle(ContentSavedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentSavedNotification | notification | The notification. |
Handle(ContentSortedNotification)
Handles a notification.
Declaration
public void Handle(ContentSortedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentSortedNotification | notification | The notification. |
Handle(ContentUnpublishedNotification)
Handles a notification.
Declaration
public void Handle(ContentUnpublishedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentUnpublishedNotification | notification | The notification. |
Handle(PublicAccessEntrySavedNotification)
Handles a notification.
Declaration
public void Handle(PublicAccessEntrySavedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| PublicAccessEntrySavedNotification | notification | The notification. |