Table of Contents

Class BatchTransformingAsyncCursor<TFromDocument, TToDocument>

Namespace
MongoDB.Driver
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
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

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

MoveNext(CancellationToken)

Moves to the next batch of documents.

MoveNextAsync(CancellationToken)

Moves to the next batch of documents.

See Also

IAsyncCursor<TDocument>