Interface INotificationHandler<TNotification>
Defines a handler for a notification.
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
public interface INotificationHandler<in TNotification> : INotificationHandler where TNotification : INotification
Type Parameters
Name | Description |
---|---|
TNotification | The type of notification being handled. |
Methods
View SourceHandle(TNotification)
Handles a notification.
Declaration
void Handle(TNotification notification)
Parameters
Type | Name | Description |
---|---|---|
TNotification | notification | The notification. |
Handle(IEnumerable<TNotification>)
Handles the notifications.
Declaration
virtual void Handle(IEnumerable<TNotification> notifications)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TNotification> | notifications | The notifications. |