Interface IUserNotificationFormatter
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Used for formatting UserNotificationMessage. By extending an INotificationFormatter implementation, adds the FormatUserMessage-method to a formatter.
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public interface IUserNotificationFormatter
Remarks
When using the GetUserNotification(s)-methods in the interface IUserNotificationRepository, formatting will be done depending on the UserNotificationFormattingMode.
If the message shall be formatted, it is automatically resolved which IUserNotificationFormatter-extended formatter that should be used.
Methods
FormatUserMessage(UserNotificationMessage)
Declaration
UserNotificationMessage FormatUserMessage(UserNotificationMessage notification)
Parameters
Type | Name | Description |
---|---|---|
UserNotificationMessage | notification |
Returns
Type | Description |
---|---|
UserNotificationMessage |