Interface INotifier
Class for sending NotificationMessages
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 8.11.0Syntax
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> |