Constructor AggregateToCollectionOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
AggregateToCollectionOperation(DatabaseNamespace, IEnumerable<BsonDocument>, MessageEncoderSettings)
Initializes a new instance of the AggregateToCollectionOperation class.
public AggregateToCollectionOperation(DatabaseNamespace databaseNamespace, IEnumerable<BsonDocument> pipeline, MessageEncoderSettings messageEncoderSettings)
Parameters
databaseNamespace
DatabaseNamespaceThe database namespace.
pipeline
IEnumerable<BsonDocument>The pipeline.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.
AggregateToCollectionOperation(CollectionNamespace, IEnumerable<BsonDocument>, MessageEncoderSettings)
Initializes a new instance of the AggregateToCollectionOperation class.
public AggregateToCollectionOperation(CollectionNamespace collectionNamespace, IEnumerable<BsonDocument> pipeline, MessageEncoderSettings messageEncoderSettings)
Parameters
collectionNamespace
CollectionNamespaceThe collection namespace.
pipeline
IEnumerable<BsonDocument>The pipeline.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.