public InboxBehavior(IBrokeredMessageInbox brokeredMessageInbox) { _brokeredMessageInbox = brokeredMessageInbox ?? throw new ArgumentNullException(nameof(brokeredMessageInbox)); }
public InboxBehavior(IBrokeredMessageInbox brokeredMessageInbox, ILogger <InboxBehavior <TMessage> > logger) { _brokeredMessageInbox = brokeredMessageInbox ?? throw new ArgumentNullException(nameof(brokeredMessageInbox)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }