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

Class EventProviderServiceFactory

Factory class for creating an EventProviderService instance from configuration.

Inheritance
System.Object
EventProviderServiceFactory
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
Assembly: EPiServer.Events.dll
Version: 9.12.2
Syntax
[ServiceConfiguration]
public class EventProviderServiceFactory

Constructors

EventProviderServiceFactory(IEventMessageFactory, IEventMessageValidator)

Declaration
public EventProviderServiceFactory(IEventMessageFactory messageFactory, IEventMessageValidator messageValidator)
Parameters
Type Name Description
IEventMessageFactory messageFactory
IEventMessageValidator messageValidator

Methods

CreateService(EventElement, HostType)

Creates the an EventProviderService instance and it's EventProvider instances as described by the eventConfiguration argument.

Declaration
public EventProviderService CreateService(EventElement eventConfiguration, HostType hostType)
Parameters
Type Name Description
EventElement eventConfiguration

The event configuration containing event provider configuration.

HostType hostType

Type of the host.

Returns
Type Description
EventProviderService
Exceptions
Type Condition
System.Configuration.ConfigurationErrorsException

Extension Methods