public GridFSFileInfo(GridFSDownloadStream <BsonValue> stream, IGridFSErrorHandler errorHandler) { _stream = stream ?? throw new ArgumentNullException(nameof(stream)); _errorHandler = errorHandler ?? throw new ArgumentNullException(nameof(errorHandler)); }
public GridFSFileSource(IGridFSBucket <BsonValue> bucket, IGridFSErrorHandler errorHandler) { _bucket = bucket ?? throw new ArgumentNullException(nameof(bucket)); _errorHandler = errorHandler ?? throw new ArgumentNullException(nameof(errorHandler)); }
public GridFSFileSourceFactory(IGridFSErrorHandler errorHandler) { _errorHandler = errorHandler ?? throw new ArgumentNullException(nameof(errorHandler)); }