Class ManagerEventPublisherBuilderFactory
Defines a method for creating a
Inheritance
System.Object
ManagerEventPublisherBuilderFactory
Namespace: Copper.Conventions.Method.Service.V1
Assembly: Copper.Conventions.Method.Service.dll
Syntax
public class ManagerEventPublisherBuilderFactory : IManagerEventPublisherBuilderFactory, IEventPublisherBuilderFactory
Constructors
View SourceManagerEventPublisherBuilderFactory(IConfiguration)
Initializes a new instance of the ManagerEventPublisherBuilderFactory class.
Declaration
public ManagerEventPublisherBuilderFactory(IConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | configuration | The configuration. |
Methods
View SourceCreateFor<TEvents>()
Creates a
Declaration
public EventPublisherBuilder CreateFor<TEvents>()
where TEvents : class
Returns
Type | Description |
---|---|
EventPublisherBuilder | The event publisher builder. |
Type Parameters
Name | Description |
---|---|
TEvents | The events contract type. |