Class TestClientEventPublisherBuilderFactory
Defines a method for creating a
Inheritance
System.Object
TestClientEventPublisherBuilderFactory
Namespace: Copper.Conventions.Method.Testing.Client.V1
Assembly: Copper.Conventions.Method.Testing.Client.dll
Syntax
public class TestClientEventPublisherBuilderFactory : ITestClientEventPublisherBuilderFactory, IEventPublisherBuilderFactory
Constructors
View SourceTestClientEventPublisherBuilderFactory(IConfiguration)
Creates a TestClientEventPublisherBuilderFactory instance.
Declaration
public TestClientEventPublisherBuilderFactory(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. |