Table of Contents

Constructor BsonDocumentCommand

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

BsonDocumentCommand(BsonDocument, IBsonSerializer<TResult>)

Initializes a new instance of the BsonDocumentCommand<TResult> class.

public BsonDocumentCommand(BsonDocument document, IBsonSerializer<TResult> resultSerializer = null)

Parameters

document BsonDocument

The document.

resultSerializer IBsonSerializer<TResult>

The result serializer.