Class DocumentsAggregateExpressionDefinition<TDocument>
An aggregate expression for the $documents stage.
public sealed class DocumentsAggregateExpressionDefinition<TDocument> : AggregateExpressionDefinition<NoPipelineInput, IEnumerable<TDocument>>
Type Parameters
TDocument
The type of the documents.
- Inheritance
-
DocumentsAggregateExpressionDefinition<TDocument>
- Inherited Members
Constructors
- DocumentsAggregateExpressionDefinition(IEnumerable<TDocument>, IBsonSerializer<TDocument>)
Initializes a new instance of the ExpressionAggregateExpressionDefinition<TSource, TResult> class.
Methods
- Render(RenderArgs<NoPipelineInput>)
Renders the aggregation expression to a BsonValue.
See Also
AggregateExpressionDefinition<TSource, TResult>