Table of Contents

Method CreateInstance

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

CreateInstance(BsonDocument)

Creates the instance.

protected override GridFSFileInfo<TFileId> CreateInstance(BsonDocument backingDocument)

Parameters

backingDocument BsonDocument

The backing document.

Returns

GridFSFileInfo<TFileId>

An instance of TClass.