Class MassTransitServiceDiscoveryServiceInstanceListenerBuilderExtensions
DiscoveryServiceInstanceListenerBuilder extensions.
Inheritance
System.Object
MassTransitServiceDiscoveryServiceInstanceListenerBuilderExtensions
Namespace: Copper.Service
Assembly: Copper.Discovery.MassTransit.Service.dll
Syntax
public static class MassTransitServiceDiscoveryServiceInstanceListenerBuilderExtensions
Methods
View SourceUseMassTransit(DiscoveryServiceInstanceListenerBuilder, Action<MassTransitDiscoveryServiceInstanceListenerBuilder>)
Configures the discovery service instance listener's event receiver and request submitter to use the MassTransit transport.
Declaration
public static DiscoveryServiceInstanceListenerBuilder UseMassTransit(this DiscoveryServiceInstanceListenerBuilder discoveryServiceInstanceListenerBuilder, Action<MassTransitDiscoveryServiceInstanceListenerBuilder> configureDelegate)
Parameters
Type | Name | Description |
---|---|---|
DiscoveryServiceInstanceListenerBuilder | discoveryServiceInstanceListenerBuilder | The discovery service instance listener builder. |
System.Action<MassTransitDiscoveryServiceInstanceListenerBuilder> | configureDelegate | A delegate that configures a MassTransitDiscoveryServiceInstanceListenerBuilder instance. |
Returns
Type | Description |
---|---|
DiscoveryServiceInstanceListenerBuilder |