Class ServiceProxyBuilder<TServiceProxyBuilder>
Provides the abstract builder class for a ServiceProxy.
Inheritance
System.Object
ComponentBuilder<ServiceProxy, TServiceProxyBuilder>
ServiceProxyBuilder<TServiceProxyBuilder>
Implements
System.IDisposable
Namespace: Copper.Remoting.Client
Assembly: Copper.Remoting.Client.dll
Syntax
public abstract class ServiceProxyBuilder<TServiceProxyBuilder> : ComponentBuilder<ServiceProxy, TServiceProxyBuilder>, IDisposable where TServiceProxyBuilder : ServiceProxyBuilder<TServiceProxyBuilder>
Type Parameters
Name | Description |
---|---|
TServiceProxyBuilder | The service proxy builder type. |
Constructors
View SourceServiceProxyBuilder()
Initializes a new instance of the ServiceProxyBuilder<TServiceProxyBuilder> class.
Declaration
protected ServiceProxyBuilder()
Methods
View SourceAppendSendInterceptor<TSendInterceptor>(Func<IServiceProvider, TSendInterceptor>)
Appends a send interceptor to the service proxy.
Declaration
public TServiceProxyBuilder 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 |
---|---|
TServiceProxyBuilder | The same instance of ServiceProxyBuilder<TServiceProxyBuilder> for chaining. |
Type Parameters
Name | Description |
---|---|
TSendInterceptor | The send interceptor type. |
Implements
System.IDisposable