Table of Contents

Class BsonDocumentCommand<TResult>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A BsonDocument based command.

public sealed class BsonDocumentCommand<TResult> : Command<TResult>

Type Parameters

TResult

The type of the result.

Inheritance
Command<TResult>
BsonDocumentCommand<TResult>
Inherited Members

Constructors

BsonDocumentCommand(BsonDocument, IBsonSerializer<TResult>)

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

Properties

Document

Gets the document.

ResultSerializer

Gets the result serializer.

Methods

Render(IBsonSerializerRegistry)

Renders the command to a RenderedCommand<TResult>.