Table of Contents

Constructor RenderedPipelineStageDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

RenderedPipelineStageDefinition(string, BsonDocument, IBsonSerializer<TOutput>)

Initializes a new instance of the RenderedPipelineStageDefinition<TOutput> class.

public RenderedPipelineStageDefinition(string operatorName, BsonDocument document, IBsonSerializer<TOutput> outputSerializer)

Parameters

operatorName string

Name of the pipeline operator.

document BsonDocument

The document.

outputSerializer IBsonSerializer<TOutput>

The output serializer.

RenderedPipelineStageDefinition(string, IEnumerable<BsonDocument>, IBsonSerializer<TOutput>)

Initializes a new instance of the RenderedPipelineStageDefinition<TOutput> class.

public RenderedPipelineStageDefinition(string operatorName, IEnumerable<BsonDocument> documents, IBsonSerializer<TOutput> outputSerializer)

Parameters

operatorName string

Name of the pipeline operator.

documents IEnumerable<BsonDocument>

The documents.

outputSerializer IBsonSerializer<TOutput>

The output serializer.