Constructor RenderedPipelineStageDefinition
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
stringName of the pipeline operator.
document
BsonDocumentThe 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
stringName of the pipeline operator.
documents
IEnumerable<BsonDocument>The documents.
outputSerializer
IBsonSerializer<TOutput>The output serializer.