Show / Hide Table of Contents

    Class EventServiceInstanceListenerBuilder

    Provides the builder class for a ServiceInstanceListener configured to receive events.

    Inheritance
    System.Object
    ServiceInstanceListenerBuilder<EventServiceInstanceListenerBuilder>
    EventServiceInstanceListenerBuilder<EventServiceInstanceListenerBuilder>
    EventServiceInstanceListenerBuilder
    Namespace: Copper.Eventing.Service
    Assembly: Copper.Eventing.Service.dll
    Syntax
    public sealed class EventServiceInstanceListenerBuilder : EventServiceInstanceListenerBuilder<EventServiceInstanceListenerBuilder>

    Methods

    View Source

    Create(Type, Type, String)

    Creates a new EventServiceInstanceListenerBuilder instance.

    Declaration
    public static EventServiceInstanceListenerBuilder Create(Type contractType, Type implementationType, string listenerName)
    Parameters
    Type Name Description
    System.Type contractType

    The contract type.

    System.Type implementationType

    The implementation type.

    System.String listenerName

    The listener name.

    Returns
    Type Description
    EventServiceInstanceListenerBuilder

    The EventServiceInstanceListenerBuilder instance.

    View Source

    Create<TContract, TImplementation>(String)

    Creates a new EventServiceInstanceListenerBuilder instance.

    Declaration
    public static EventServiceInstanceListenerBuilder Create<TContract, TImplementation>(string listenerName)
        where TContract : class where TImplementation : class, TContract
    Parameters
    Type Name Description
    System.String listenerName

    The listener name.

    Returns
    Type Description
    EventServiceInstanceListenerBuilder

    The EventServiceInstanceListenerBuilder instance.

    Type Parameters
    Name Description
    TContract

    The contract type.

    TImplementation

    The implementation type.

    Extension Methods

    MassTransitServiceEventServiceInstanceListenerBuilderExtensions.UseMassTransit(EventServiceInstanceListenerBuilder, Action<MassTransitEventReceiverBuilder>)
    DiagnosticsServiceServiceInstanceListenerBuilderExtensions.AddCopperEnrichedApplicationInsightsLogging<TServiceInstanceListenerBuilder>(TServiceInstanceListenerBuilder)
    DiagnosticsServiceServiceInstanceListenerBuilderExtensions.AppendDiagnosticsInterceptors<TServiceInstanceListenerBuilder>(TServiceInstanceListenerBuilder)
    • View Source
    Back to top Generated by DocFX