Interface IEventMessageFactory

Describes the functionality used to create an EventMessage.

Namespace: EPiServer.Events.Providers
Assembly: EPiServer.Events.dll
Version: 8.11.0
Syntax
public interface IEventMessageFactory

Methods

Create(Guid, Object, Boolean)

Creates an event message with the given event identifier and parameter.

Declaration
EventMessage Create(Guid eventId, object parameter, bool addChecksum)
Parameters
Type Name Description
System.Guid eventId

The event unique identifier.

System.Object parameter

The message parameter.

System.Boolean addChecksum

if set to true a checksum is calculated and added to the message.

Returns
Type Description
EventMessage

A new EventMessage instance.