Esempio n. 1
0
 /// <summary>
 /// Creates a new instance using the provided log callback.
 /// </summary>
 /// <param name="receiver"></param>
 /// <param name="logAction"></param>
 protected DefaultServiceBusMessageReceiver(IServiceBusCommunicationListener receiver, Action <string> logAction)
 {
     Listener  = receiver ?? throw new ArgumentNullException(nameof(receiver));
     LogAction = logAction;
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new instance using the provided log callback.
 /// </summary>
 /// <param name="receiver"></param>
 protected DefaultServiceBusMessageReceiver(IServiceBusCommunicationListener receiver)
 {
     Listener = receiver ?? throw new ArgumentNullException(nameof(receiver));
 }
 public ServiceBusStatelessService(StatelessServiceContext serviceContext, IServiceBusCommunicationListener serviceBusCommunicationListener)
     : base(serviceContext)
 {
     _serviceBusCommunicationListener = serviceBusCommunicationListener;
 }