Class MockAsyncEnumerable<T>
Inheritance
MockAsyncEnumerable<T>
Assembly: FastMoq.Database.dll
Syntax
public class MockAsyncEnumerable<T> : EnumerableQuery<T>, IOrderedQueryable<T>, IOrderedQueryable, IQueryProvider, IAsyncEnumerable<T>, IQueryable<T>, IEnumerable<T>, IQueryable, IEnumerable
Type Parameters
Constructors
MockAsyncEnumerable(IEnumerable<T>)
Declaration
public MockAsyncEnumerable(IEnumerable<T> enumerable)
Parameters
MockAsyncEnumerable(Expression)
Declaration
public MockAsyncEnumerable(Expression expression)
Parameters
Methods
GetAsyncEnumerator(CancellationToken)
Returns an enumerator that iterates asynchronously through the collection.
Declaration
public IAsyncEnumerator<T> GetAsyncEnumerator(CancellationToken cancellationToken = default)
Parameters
Returns
| Type |
Description |
| IAsyncEnumerator<T> |
An enumerator that can be used to iterate asynchronously through the collection.
|
Implements
Extension Methods