Class BatchTransformingAsyncCursor<TFromDocument, TToDocument>
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Represents a cursor that wraps another cursor with a transformation function on the documents.
public sealed class BatchTransformingAsyncCursor<TFromDocument, TToDocument> : IAsyncCursor<TToDocument>, IDisposable
Type Parameters
TFromDocument
The type of from document.
TToDocument
The type of to document.
Inheritance
BatchTransformingAsyncCursor<TFromDocument, TToDocument>
Implements
Inherited Members
Extension Methods
Constructors
BatchTransformingAsyncCursor(IAsyncCursor, Func<IEnumerable, IEnumerable>)
Initializes a new instance of the BatchTransformingAsyncCursor<TFromDocument, TToDocument> class.
Properties
Gets the current batch of documents.
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Moves to the next batch of documents.
MoveNextAsync(CancellationToken)
Moves to the next batch of documents.