Class ImmutableGridFSBucketOptions
Represents immutable options for a GridFS instance.
public class ImmutableGridFSBucketOptions
- Inheritance
-
ImmutableGridFSBucketOptions
- Inherited Members
Constructors
ImmutableGridFSBucketOptions()
Initializes a new instance of the ImmutableGridFSBucketOptions class.
public ImmutableGridFSBucketOptions()
ImmutableGridFSBucketOptions(GridFSBucketOptions)
Initializes a new instance of the ImmutableGridFSBucketOptions class.
public ImmutableGridFSBucketOptions(GridFSBucketOptions other)
Parameters
other
GridFSBucketOptionsThe other GridFSBucketOptions from which to copy the values.
Properties
BucketName
Gets the bucket name.
public string BucketName { get; }
Property Value
- string
The bucket name.
ChunkSizeBytes
Gets the chunk size in bytes.
public int ChunkSizeBytes { get; }
Property Value
- int
The chunk size in bytes.
Defaults
Gets the default GridFSBucketOptions.
public static ImmutableGridFSBucketOptions Defaults { get; }
Property Value
- ImmutableGridFSBucketOptions
The default GridFSBucketOptions.
DisableMD5
Gets or sets whether to disable MD5 checksum computation when uploading a GridFS file.
public bool DisableMD5 { get; }
Property Value
- bool
Whether MD5 checksum computation is disabled when uploading a GridFS file.
ReadConcern
Gets the read concern.
public ReadConcern ReadConcern { get; }
Property Value
- ReadConcern
The read concern.
ReadPreference
Gets the read preference.
public ReadPreference ReadPreference { get; }
Property Value
- ReadPreference
The read preference.
SerializerRegistry
Gets the serializer registry.
public IBsonSerializerRegistry SerializerRegistry { get; }
Property Value
- IBsonSerializerRegistry
The serializer registry.
WriteConcern
Gets the write concern.
public WriteConcern WriteConcern { get; }
Property Value
- WriteConcern
The write concern.