Table of Contents

Constructor GridFSFileInfo

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.GridFS.dll

GridFSFileInfo(BsonDocument, IGridFSFileInfoSerializer<TFileId>)

Initializes a new instance of the GridFSFileInfo class.

public GridFSFileInfo(BsonDocument backingDocument, IGridFSFileInfoSerializer<TFileId> fileInfoSerializer)

Parameters

backingDocument BsonDocument

The backing document.

fileInfoSerializer IGridFSFileInfoSerializer<TFileId>

The fileInfo serializer.