Table of Contents

Constructor BsonDocumentStagePipelineDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

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.