Class MongoGridFSSettings
Represents setting for GridFS.
[Serializable]
public class MongoGridFSSettings : IEquatable<MongoGridFSSettings>
- Inheritance
-
MongoGridFSSettings
- Implements
- Inherited Members
- Extension Methods
Constructors
- MongoGridFSSettings()
Initializes a new instance of the MongoGridFSSettings class.
- MongoGridFSSettings(MongoDatabase)
Initializes a new instance of the MongoGridFSSettings class.
- MongoGridFSSettings(int, string, WriteConcern)
Initializes a new instance of the MongoGridFSSettings class.
Properties
- ChunkSize
Gets or sets the chunk size.
- ChunksCollectionName
Gets the chunks collection name.
- Defaults
Gets or sets the default GridFS settings.
- FilesCollectionName
Gets the files collection name.
- GuidRepresentation
Gets or sets the GuidRepresentation.
- IsFrozen
Gets a value indicating whether the settings are frozen.
- ReadEncoding
Gets or sets the read encoding.
- ReadPreference
Gets or sets the ReadPreference.
- Root
Gets or sets the root collection name (the files and chunks collection names are derived from the root).
- UpdateMD5
Gets or sets a value indicating whether to udpate the MD5 hash on the server when a file is uploaded or modified.
- VerifyMD5
Gets or sets a value indicating whether to verify the MD5 hash when a file is uploaded or downloaded.
- WriteConcern
Gets or sets the WriteConcern.
- WriteEncoding
Gets or sets the write encoding.
Methods
- Clone()
Creates a clone of the settings.
- Equals(MongoGridFSSettings)
Compares this MongoGridFSSettings to another one.
- Equals(object)
Compares this MongoGridFSSettings to another object.
- Freeze()
Freezes the settings.
- FrozenCopy()
Returns a frozen copy of the settings.
- GetHashCode()
Gets the hash code.
Operators
- operator ==(MongoGridFSSettings, MongoGridFSSettings)
Compares two MongoGridFSSettings.
- operator !=(MongoGridFSSettings, MongoGridFSSettings)
Compares two MongoGridFSSettings.