Skip to content

Commit 06a4ef9

Browse files
committed
fixes
1 parent 53581c4 commit 06a4ef9

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

source/fundamentals/gridfs.txt

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ stream for a given file name. These methods accept the following parameters:
175175
**Data type**: {+string-data-type+}
176176
* - ``options``
177177
- *Optional.* An instance of the ``GridFSUploadOptions`` class that specifies the
178-
configuration for the upload stream. The default value is ``null``.
178+
configuration for the upload stream. The default value is ``null``.
179179

180180
**Data type**: `GridFSUploadOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.GridFS.GridFSUploadOptions.html>`__
181181
* - ``cancellationToken``
@@ -282,6 +282,8 @@ Use the ``UploadFromStreamAsync()`` or ``UploadFromStream()`` method to upload t
282282
contents of a stream to a new GridFS file. These methods accept the following parameters:
283283

284284
.. list-table::
285+
:widths: 30 70
286+
:header-rows: 1
285287

286288
* - Parameter
287289
- Description
@@ -290,18 +292,18 @@ contents of a stream to a new GridFS file. These methods accept the following pa
290292
- The name of the file to upload.
291293

292294
**Data type**: {+string-data-type+}
293-
295+
294296
* - ``source``
295297
- The stream from which to read the file contents.
296298

297299
**Data type**: `Stream <https://learn.microsoft.com/dotnet/api/system.io.stream>`__
298-
300+
299301
* - ``options``
300302
- *Optional.* An instance of the ``GridFSUploadOptions`` class that specifies the
301303
configuration for the upload stream. The default value is ``null``.
302304

303305
**Data type**: `GridFSUploadOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.GridFS.GridFSBucket.GridFSUploadOptions.html>`__
304-
306+
305307
* - ``cancellationToken``
306308
- *Optional.* A token that you can use to cancel the operation.
307309

@@ -360,6 +362,8 @@ Use the ``OpenDownloadStreamAsync()`` or ``OpenDownloadStream()`` method to crea
360362
download stream. These methods accept the following parameters:
361363

362364
.. list-table::
365+
:widths: 30 70
366+
:header-rows: 1
363367

364368
* - Parameter
365369
- Description
@@ -415,6 +419,8 @@ To customize the download stream configuration, pass an instance of the
415419
``GridFSDownloadOptions`` class contains the following properties:
416420

417421
.. list-table::
422+
:widths: 30 70
423+
:header-rows: 1
418424

419425
* - Property
420426
- Description
@@ -459,6 +465,8 @@ Use the ``DownloadToStreamAsync()`` or ``DownloadToStream()`` method to download
459465
contents of a GridFS file to an existing stream. These methods accept the following parameters:
460466

461467
.. list-table::
468+
:widths: 30 70
469+
:header-rows: 1
462470

463471
* - Parameter
464472
- Description
@@ -522,6 +530,8 @@ To retrieve files from a GridFS bucket, call the ``FindAsync()`` or ``Find()`` m
522530
on your ``GridFSBucket`` instance. These methods accept the following parameters:
523531

524532
.. list-table::
533+
:widths: 30 70
534+
:header-rows: 1
525535

526536
* - Parameter
527537
- Description
@@ -633,6 +643,8 @@ its associated chunks from your bucket.
633643
The ``DeleteAsync`` and ``Delete()`` methods accept the following parameters:
634644

635645
.. list-table::
646+
:widths: 30 70
647+
:header-rows: 1
636648

637649
* - Parameter
638650
- Description

0 commit comments

Comments
 (0)