Class EventPublisherFactory
Defines a method for creating an IEventPublisher instance.
Inheritance
System.Object
EventPublisherFactory
Implements
Namespace: Copper.Eventing.Common
Assembly: Copper.Eventing.Common.dll
Syntax
public class EventPublisherFactory : IEventPublisherFactory
Constructors
View SourceEventPublisherFactory(EventPublisherBuilder)
Initializes a new instance of the EventPublisherFactory class.
Declaration
public EventPublisherFactory(EventPublisherBuilder eventPublisherBuilder)
Parameters
Type | Name | Description |
---|---|---|
EventPublisherBuilder | eventPublisherBuilder | The event publisher builder. |
Methods
View SourceCreate()
Creates an IEventPublisher instance.
Declaration
public IEventPublisher Create()
Returns
Type | Description |
---|---|
IEventPublisher | The IEventPublisher instance. |