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