Class BatchTransformingAsyncCursor<TFromDocument, TToDocument>
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
-
IAsyncCursor<TToDocument>
- Inherited Members
- Extension Methods
Constructors
- BatchTransformingAsyncCursor(IAsyncCursor<TFromDocument>, Func<IEnumerable<TFromDocument>, IEnumerable<TToDocument>>)
Initializes a new instance of the BatchTransformingAsyncCursor<TFromDocument, TToDocument> class.
Properties
- Current
Gets the current batch of documents.
Methods
- MoveNext(CancellationToken)
Moves to the next batch of documents.
- MoveNextAsync(CancellationToken)
Moves to the next batch of documents.
See Also
IAsyncCursor<TDocument>