SaaS CMS has officially launched! Learn more now.

Class EventProviderServiceFactory

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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.Internal
Assembly: EPiServer.Events.dll
Version: 10.10.4
Syntax
[ServiceConfiguration]
public class EventProviderServiceFactory

Constructors

EventProviderServiceFactory(IEventMessageFactory, IEventMessageValidator, IServiceLocator)

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

Methods

CreateService(EventOptions, HostType)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates the an EventProviderService instance and it's EventProvider instances as described by the eventOptions argument.

Declaration
public EventProviderService CreateService(EventOptions eventOptions, HostType hostType)
Parameters
Type Name Description
EventOptions eventOptions

The event options containing event provider configuration.

HostType hostType

Type of the host.

Returns
Type Description
EventProviderService

Extension Methods