示例#1
0
 public CaptureService(IDocumentParser documentParser, IEventCapturer eventCapturer)
 {
     _eventCapturer = eventCapturer ?? throw new ArgumentNullException(nameof(eventCapturer));
 }
示例#2
0
 public CaptureService(IEventCapturer eventCapturer, IMasterdataCapturer masterdataCapturer)
 {
     _eventCapturer      = eventCapturer ?? throw new ArgumentNullException(nameof(eventCapturer));
     _masterdataCapturer = masterdataCapturer ?? throw new ArgumentNullException(nameof(masterdataCapturer));
 }