Class EventProviderServiceFactory
Factory class for creating an EventProviderService instance from configuration.
Inheritance
System.Object
EventProviderServiceFactory
Namespace: EPiServer.Events.Providers.Internal
Assembly: EPiServer.Events.dll
Version: 12.0.3Syntax
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class EventProviderServiceFactory : Object
Constructors
EventProviderServiceFactory(IEventMessageFactory, IEventMessageValidator, IServiceProvider)
Declaration
public EventProviderServiceFactory(IEventMessageFactory messageFactory, IEventMessageValidator messageValidator, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IEventMessageFactory | messageFactory | |
| IEventMessageValidator | messageValidator | |
| System.IServiceProvider | serviceProvider |
Methods
CreateService(EventProviderOptions)
Declaration
public EventProviderService CreateService(EventProviderOptions eventOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| EventProviderOptions | eventOptions |
Returns
| Type | Description |
|---|---|
| EventProviderService |