Constructor PrependedStagePipelineDefinition
PrependedStagePipelineDefinition(PipelineStageDefinition<TInput, TIntermediate>, PipelineDefinition<TIntermediate, TOutput>, IBsonSerializer<TOutput>)
Initializes a new instance of the PrependedStagePipelineDefinition<TInput, TIntermediate, TOutput> class.
public PrependedStagePipelineDefinition(PipelineStageDefinition<TInput, TIntermediate> stage, PipelineDefinition<TIntermediate, TOutput> pipeline, IBsonSerializer<TOutput> outputSerializer = null)
Parameters
stage
PipelineStageDefinition<TInput, TIntermediate>The stage.
pipeline
PipelineDefinition<TIntermediate, TOutput>The pipeline.
outputSerializer
IBsonSerializer<TOutput>The output serializer.