Class EventHandlerProxyFactoryBuilder
Provides the builder class for a Event
Inheritance
System.Object
EventHandlerProxyFactoryBuilder
Namespace: Copper.Eventing.Client
Assembly: Copper.Eventing.Client.dll
Syntax
public class EventHandlerProxyFactoryBuilder : ComponentBuilder<EventHandlerProxyFactory, EventHandlerProxyFactoryBuilder>
Constructors
View SourceEventHandlerProxyFactoryBuilder()
Initializes a new instance of the Event
Declaration
protected EventHandlerProxyFactoryBuilder()
Methods
View SourceAppendReceiveInterceptor<TReceiveInterceptor>(Func<IServiceProvider, TReceiveInterceptor>)
Appends a receive interceptor to the event handler proxy factory.
Declaration
public EventHandlerProxyFactoryBuilder AppendReceiveInterceptor<TReceiveInterceptor>(Func<IServiceProvider, TReceiveInterceptor> configureDelegate = null)
where TReceiveInterceptor : class, IReceiveInterceptor
Parameters
Type | Name | Description |
---|---|---|
System. |
configureDelegate | A factory method to create a receive interceptor. |
Returns
Type | Description |
---|---|
Event |
The same instance of Event |
Type Parameters
Name | Description |
---|---|
TReceiveInterceptor | The receive interceptor type. |
Create()
Creates a new Event
Declaration
public static EventHandlerProxyFactoryBuilder Create()
Returns
Type | Description |
---|---|
Event |
The Event |