Method ToCollection
ToCollection(CancellationToken)
Executes an aggregation pipeline that writes the results to a collection.
Parameters
cancellationToken
CancellationToken The cancellation token.
Executes an aggregation pipeline that writes the results to a collection.
cancellationToken
CancellationThe cancellation token.