Table of Contents

Method CreateInstance

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.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.