Constructor BsonDocumentPipelineStageDefinition
BsonDocumentPipelineStageDefinition(BsonDocument, IBsonSerializer<TOutput>)
Initializes a new instance of the BsonDocumentPipelineStageDefinition<TInput, TOutput> class.
public BsonDocumentPipelineStageDefinition(BsonDocument document, IBsonSerializer<TOutput> outputSerializer = null)
Parameters
document
BsonDocumentThe document.
outputSerializer
IBsonSerializer<TOutput>The output serializer.