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