November Happy Hour will be moved to Thursday December 5th.

Class EventMessageFactory

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
EventMessageFactory
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.Events.Providers.Internal
Assembly: EPiServer.Events.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IEventMessageFactory))]
public class EventMessageFactory : IEventMessageFactory

Constructors

EventMessageFactory(IEventSiteRegistry, IEventHostingEnvironment)

Declaration
public EventMessageFactory(IEventSiteRegistry eventSiteRegistry, IEventHostingEnvironment hostingEnvironment)
Parameters
Type Name Description
IEventSiteRegistry eventSiteRegistry
IEventHostingEnvironment hostingEnvironment

Methods

Create(Guid, Object, Boolean)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public 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.

Implements

Extension Methods