Constructor GridFSFileInfo
GridFSFileInfo(BsonDocument, IGridFSFileInfoSerializer<TFileId>)
Initializes a new instance of the GridFSFileInfo class.
public GridFSFileInfo(BsonDocument backingDocument, IGridFSFileInfoSerializer<TFileId> fileInfoSerializer)
Parameters
backingDocument
BsonDocumentThe backing document.
fileInfoSerializer
IGridFSFileInfoSerializer<TFileId>The fileInfo serializer.