SaaS CMS has officially launched! Learn more now.

Class FormatterNotificationMessage

Notification message used in INotificationFormatter This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
FormatterNotificationMessage
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class FormatterNotificationMessage

Constructors

FormatterNotificationMessage(IEnumerable<Int32>)

Constructor for creating FormatterNotificationMessage.

Declaration
public FormatterNotificationMessage(IEnumerable<int> messageIds)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Int32> messageIds

List of message ids

FormatterNotificationMessage(Int32)

Constructor for creating FormatterNotificationMessage.

Declaration
public FormatterNotificationMessage(int messageId)
Parameters
Type Name Description
System.Int32 messageId

The message id

Properties

Category

The category of the message.

Declaration
public Uri Category { get; set; }
Property Value
Type Description
System.Uri

ContainedIDs

It contains message id that has been formatted. If a formatter joined many messages to one message then merged message ids should be added to the ContainedIDs.

Declaration
public IList<int> ContainedIDs { get; }
Property Value
Type Description
System.Collections.Generic.IList<System.Int32>

Content

The content of the message

Declaration
public string Content { get; set; }
Property Value
Type Description
System.String

Subject

The subject of the message

Declaration
public string Subject { get; set; }
Property Value
Type Description
System.String

TypeName

The type of the message.

Declaration
public string TypeName { get; set; }
Property Value
Type Description
System.String

Extension Methods