Class EventProviderServiceFactory
Factory class for creating an Event
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.2Syntax
[ServiceConfiguration]
public class EventProviderServiceFactory
Constructors
EventProviderServiceFactory(IEventMessageFactory, IEventMessageValidator)
Declaration
public EventProviderServiceFactory(IEventMessageFactory messageFactory, IEventMessageValidator messageValidator)
Parameters
Type | Name | Description |
---|---|---|
IEvent |
messageFactory | |
IEvent |
messageValidator |
Methods
CreateService(EventElement, HostType)
Creates the an EventeventConfiguration
argument.
Declaration
public EventProviderService CreateService(EventElement eventConfiguration, HostType hostType)
Parameters
Type | Name | Description |
---|---|---|
Event |
eventConfiguration | The event configuration containing event provider configuration. |
Host |
hostType | Type of the host. |
Returns
Type | Description |
---|---|
Event |
Exceptions
Type | Condition |
---|---|
System. |