public QueueTriggerBinding(ILogFactory logFactory, IQueueReaderFactory queueReaderFactory, IPoisionQueueNotifier notifier) { if (logFactory == null) { throw new ArgumentNullException(nameof(logFactory)); } _log = logFactory.CreateLog(this); _queueReaderFactory = queueReaderFactory ?? throw new ArgumentNullException(nameof(queueReaderFactory)); _notifier = notifier ?? throw new ArgumentNullException(nameof(notifier)); }
public QueueTriggerBinding(ILog log, IQueueReaderFactory queueReaderFactory, IPoisionQueueNotifier notifier) { if (queueReaderFactory == null) { throw new ArgumentNullException(nameof(queueReaderFactory)); } if (log == null) { throw new ArgumentNullException(nameof(log)); } _log = log; _queueReaderFactory = queueReaderFactory; _notifier = notifier; }