Class BsonDocumentCommand

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

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

Type Parameters

TResult

The type of the result.

Inheritance

BsonDocumentCommand

Inherited Members

Constructors

BsonDocumentCommand(BsonDocument, IBsonSerializer)

Initializes a new instance of the BsonDocumentCommand class.

Properties

Document

Gets the document.

ResultSerializer

Gets the result serializer.

Methods

Render(IBsonSerializerRegistry)

Renders the command to a RenderedCommand.