public CaptureService(IDocumentParser documentParser, IEventCapturer eventCapturer) { _eventCapturer = eventCapturer ?? throw new ArgumentNullException(nameof(eventCapturer)); }
public CaptureService(IEventCapturer eventCapturer, IMasterdataCapturer masterdataCapturer) { _eventCapturer = eventCapturer ?? throw new ArgumentNullException(nameof(eventCapturer)); _masterdataCapturer = masterdataCapturer ?? throw new ArgumentNullException(nameof(masterdataCapturer)); }