Class BsonDocumentCommand<TResult>
A BsonDocument based command.
public sealed class BsonDocumentCommand<TResult> : Command<TResult>
  Type Parameters
TResultThe 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>.