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