Table of Contents

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 DatabaseNamespace

The database namespace.

pipeline IEnumerable<BsonDocument>

The pipeline.

messageEncoderSettings MessageEncoderSettings

The 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 CollectionNamespace

The collection namespace.

pipeline IEnumerable<BsonDocument>

The pipeline.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.