Class RenderedPipelineStageDefinition<TOutput>
A rendered pipeline stage.
public class RenderedPipelineStageDefinition<TOutput> : IRenderedPipelineStageDefinition
Type Parameters
TOutput
The type of the output.
- Inheritance
-
RenderedPipelineStageDefinition<TOutput>
- Implements
- Inherited Members
Constructors
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.
Properties
Document
Gets the document.
public BsonDocument Document { get; }
Property Value
Documents
Gets the documents (usually one but could be more).
public IReadOnlyList<BsonDocument> Documents { get; }
Property Value
OperatorName
Gets the name of the pipeline operator.
public string OperatorName { get; }
Property Value
- string
The name of the pipeline operator.
OutputSerializer
Gets the output serializer.
public IBsonSerializer<TOutput> OutputSerializer { get; }
Property Value
- IBsonSerializer<TOutput>