Table of Contents

Constructor BsonDocumentPipelineStageDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

BsonDocumentPipelineStageDefinition(BsonDocument, IBsonSerializer<TOutput>)

Initializes a new instance of the BsonDocumentPipelineStageDefinition<TInput, TOutput> class.

public BsonDocumentPipelineStageDefinition(BsonDocument document, IBsonSerializer<TOutput> outputSerializer = null)

Parameters

document BsonDocument

The document.

outputSerializer IBsonSerializer<TOutput>

The output serializer.