Class EventHandlerProxyFactoryBuilder
Provides the builder class for a EventHandlerProxyFactory.
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 EventHandlerProxyFactoryBuilder class.
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.Func<System.IServiceProvider, TReceiveInterceptor> | configureDelegate | A factory method to create a receive interceptor. |
Returns
Type | Description |
---|---|
EventHandlerProxyFactoryBuilder | The same instance of EventHandlerProxyFactoryBuilder for chaining. |
Type Parameters
Name | Description |
---|---|
TReceiveInterceptor | The receive interceptor type. |
Create()
Creates a new EventHandlerProxyFactoryBuilder instance.
Declaration
public static EventHandlerProxyFactoryBuilder Create()
Returns
Type | Description |
---|---|
EventHandlerProxyFactoryBuilder | The EventHandlerProxyFactoryBuilder instance. |