Show / Hide Table of Contents

    Class ServiceProxyBuilder<TServiceProxyBuilder>

    Provides the abstract builder class for a ServiceProxy.

    Inheritance
    System.Object
    ComponentBuilder
    ComponentBuilder<ServiceProxy, TServiceProxyBuilder>
    ServiceProxyBuilder<TServiceProxyBuilder>
    ServiceProxyBuilder
    ServiceProxyBuilder
    ServiceProxyBuilder
    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 Source

    ServiceProxyBuilder()

    Initializes a new instance of the ServiceProxyBuilder<TServiceProxyBuilder> class.

    Declaration
    protected ServiceProxyBuilder()

    Methods

    View Source

    AppendSendInterceptor<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
    • View Source
    Back to top Generated by DocFX