Method ToCollection
ToCollection(CancellationToken)
Executes an aggregation pipeline that writes the results to a collection.
public virtual void ToCollection(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenThe cancellation token.