BatchTransformingAsyncCursor<TFromDocument, TToDocument> Class |
Namespace: MongoDB.Driver
public sealed class BatchTransformingAsyncCursor<TFromDocument, TToDocument> : IAsyncCursor<TToDocument>, IDisposable
The BatchTransformingAsyncCursor<TFromDocument, TToDocument> type exposes the following members.
Name | Description | |
---|---|---|
![]() | BatchTransformingAsyncCursor<TFromDocument, TToDocument> |
Initializes a new instance of the BatchTransformingAsyncCursor<TFromDocument, TToDocument> class.
|
Name | Description | |
---|---|---|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MoveNext |
Moves to the next batch of documents.
|
![]() | MoveNextAsync |
Moves to the next batch of documents.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | Any<TToDocument> |
Determines whether the cursor contains any documents.
(Defined by IAsyncCursorExtensions.) |
![]() | AnyAsync<TToDocument> |
Determines whether the cursor contains any documents.
(Defined by IAsyncCursorExtensions.) |
![]() | First<TToDocument> |
Returns the first document of a cursor.
(Defined by IAsyncCursorExtensions.) |
![]() | FirstAsync<TToDocument> |
Returns the first document of a cursor.
(Defined by IAsyncCursorExtensions.) |
![]() | FirstOrDefault<TToDocument> |
Returns the first document of a cursor, or a default value if the cursor contains no documents.
(Defined by IAsyncCursorExtensions.) |
![]() | FirstOrDefaultAsync<TToDocument> |
Returns the first document of the cursor, or a default value if the cursor contains no documents.
(Defined by IAsyncCursorExtensions.) |
![]() | ForEachAsync<TToDocument>(Func<TToDocument, Task>, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorExtensions.) |
![]() | ForEachAsync<TToDocument>(Func<TToDocument, Int32, Task>, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorExtensions.) |
![]() | ForEachAsync<TToDocument>(Action<TToDocument>, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorExtensions.) |
![]() | ForEachAsync<TToDocument>(Action<TToDocument, Int32>, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorExtensions.) |
![]() | Single<TToDocument> |
Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document.
(Defined by IAsyncCursorExtensions.) |
![]() | SingleAsync<TToDocument> |
Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document.
(Defined by IAsyncCursorExtensions.) |
![]() | SingleOrDefault<TToDocument> |
Returns the only document of a cursor, or a default value if the cursor contains no documents.
This method throws an exception if the cursor contains more than one document.
(Defined by IAsyncCursorExtensions.) |
![]() | SingleOrDefaultAsync<TToDocument> |
Returns the only document of a cursor, or a default value if the cursor contains no documents.
This method throws an exception if the cursor contains more than one document.
(Defined by IAsyncCursorExtensions.) |
![]() | ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) |
![]() | ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
![]() | ToEnumerable<TToDocument> |
Wraps a cursor in an IEnumerable that can be enumerated one time.
(Defined by IAsyncCursorExtensions.) |
![]() | ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |
![]() | ToList<TToDocument> |
Returns a list containing all the documents returned by a cursor.
(Defined by IAsyncCursorExtensions.) |
![]() | ToListAsync<TToDocument> |
Returns a list containing all the documents returned by a cursor.
(Defined by IAsyncCursorExtensions.) |