Interface INotifier
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Class for sending NotificationMessages
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public interface INotifier
Methods
PostNotificationAsync(NotificationMessage)
Sends a message. The delivery of the message depends on user settings, which INotificationFormatter and INotificationProvider that are registered.
Declaration
Task PostNotificationAsync(NotificationMessage notification)
Parameters
Type | Name | Description |
---|---|---|
NotificationMessage | notification | The message to send. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Events
NotificationFiltered
Occurs when a message is filtered.
Declaration
event EventHandler<NotificationEventArgs> NotificationFiltered
Event Type
Type | Description |
---|---|
System.EventHandler<NotificationEventArgs> |
NotificationPosted
Occurs when a message is notified.
Declaration
event EventHandler<NotificationEventArgs> NotificationPosted
Event Type
Type | Description |
---|---|
System.EventHandler<NotificationEventArgs> |
NotificationSaved
Occurs when a message is saved.
Declaration
event EventHandler<NotificationEventArgs> NotificationSaved
Event Type
Type | Description |
---|---|
System.EventHandler<NotificationEventArgs> |