Class EventsProxyBuilder<TEventsProxyBuilder>
Provides abstract the builder class for an EventsProxy.
Inheritance
System.Object
EventsProxyBuilder<TEventsProxyBuilder>
Namespace: Copper.Eventing.Service
Assembly: Copper.Eventing.Service.dll
Syntax
public abstract class EventsProxyBuilder<TEventsProxyBuilder> : ComponentBuilder<EventsProxy, TEventsProxyBuilder> where TEventsProxyBuilder : EventsProxyBuilder<TEventsProxyBuilder>
Type Parameters
Name | Description |
---|---|
TEventsProxyBuilder |
Constructors
View SourceEventsProxyBuilder()
Initializes a new instance of the EventsProxyBuilder<TEventsProxyBuilder> class.
Declaration
protected EventsProxyBuilder()
Methods
View SourceAppendSendInterceptor<TSendInterceptor>(Func<IServiceProvider, TSendInterceptor>)
Appends a send interceptor to the events proxy.
Declaration
public TEventsProxyBuilder AppendSendInterceptor<TSendInterceptor>(Func<IServiceProvider, TSendInterceptor> configureDelegate = null)
where TSendInterceptor : class, ISendInterceptor
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.IServiceProvider, TSendInterceptor> | configureDelegate | A factory method to create a send interceptor. |
Returns
Type | Description |
---|---|
TEventsProxyBuilder | The same instance of EventsProxyBuilder<TEventsProxyBuilder> for chaining. |
Type Parameters
Name | Description |
---|---|
TSendInterceptor | The send interceptor type. |