/// <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; }
/// <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; }