Exemple #1
0
 public IndexingQueue(IInProgressDocumentsStorage inProgressDocumentsStorage, Channel <DocumentInfo> channel)
 {
     this.inProgressDocumentsStorage = inProgressDocumentsStorage ?? throw new ArgumentNullException(nameof(inProgressDocumentsStorage));
     this.channel = channel ?? throw new ArgumentNullException(nameof(channel));
 }
Exemple #2
0
 public InProgressDocumentsController(IInProgressDocumentsStorage inProgressDocumentsStorage, IUserService userService)
 {
     this.inProgressDocumentsStorage = inProgressDocumentsStorage ?? throw new ArgumentNullException(nameof(inProgressDocumentsStorage));
     this.userService = userService ?? throw new ArgumentNullException(nameof(userService));
 }