Table of Contents

Constructor PipelineStagePipelineDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

PipelineStagePipelineDefinition(IEnumerable<IPipelineStageDefinition>, IBsonSerializer<TOutput>)

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

public PipelineStagePipelineDefinition(IEnumerable<IPipelineStageDefinition> stages, IBsonSerializer<TOutput> outputSerializer = null)

Parameters

stages IEnumerable<IPipelineStageDefinition>

The stages.

outputSerializer IBsonSerializer<TOutput>

The output serializer.