src/Shared/EntityFramework/Infrastructure/IDbAsyncEnumerableExtensions.cs
// <summary>
// Asynchronously creates a <see cref="List{T}" /> from the <see cref="IDbAsyncEnumerable" />.
// </summary>
// <typeparam name="T"> The type that the elements will be cast to. </typeparam>
// <returns>
// A <see cref="Task" /> containing a <see cref="List{T}" /> that contains elements from the input sequence.
// </returns>
Asynchronously creates a  from the .
Asynchronously creates a from the .
internal static Task<List<T>> ToListAsync<T>(this IDbAsyncEnumerable source)
        {
            DebugCheck.NotNull(source);
            return source.ToListAsync<T>(CancellationToken.None);
        }
internal static Task < List < T > > ToListAsync < T > ( this IDbAsyncEnumerable source ) { DebugCheck . NotNull ( source ) ; return source . ToListAsync < T > ( CancellationToken . None ) ; }
Asynchronously creates a  from the .
Asynchronously creates a from the .
A  containing a  that contains elements from the input sequence.
A containing a that contains elements from the input sequence .
IDbAsyncEnumerable
this
<not_specific>
typeparam
The type that the elements will be cast to.
The type that the elements will be cast to .