Constructor RenderedCommand

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

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

RenderedCommand(BsonDocument, IBsonSerializer)

Initializes a new instance of the RenderedCommand class.

public RenderedCommand(BsonDocument document, IBsonSerializer<TResult> resultSerializer)

Parameters

document BsonDocument

The document.

resultSerializer IBsonSerializer

The result serializer.