Show / Hide Table of Contents

    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 Source

    EventHandlerProxyFactoryBuilder()

    Initializes a new instance of the EventHandlerProxyFactoryBuilder class.

    Declaration
    protected EventHandlerProxyFactoryBuilder()

    Methods

    View Source

    AppendReceiveInterceptor<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.

    View Source

    Create()

    Creates a new EventHandlerProxyFactoryBuilder instance.

    Declaration
    public static EventHandlerProxyFactoryBuilder Create()
    Returns
    Type Description
    EventHandlerProxyFactoryBuilder

    The EventHandlerProxyFactoryBuilder instance.

    Extension Methods

    DiagnosticsClientEventHandlerProxyBuilderExtensions.AddCopperEnrichedApplicationInsightsLogging(EventHandlerProxyFactoryBuilder)
    DiagnosticsClientEventHandlerProxyBuilderExtensions.AppendDiagnosticsInterceptors(EventHandlerProxyFactoryBuilder)
    • View Source
    Back to top Generated by DocFX