Delegate CreateEnumeratorDelegate<TResult>
Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous Func<T1, T2, T3, T4, TResult>.
public delegate IAsyncEnumerator<TResult> CreateEnumeratorDelegate<TResult>(QueryCommand<TResult> queryCommand, InMemoryPreparedQueryCommand<TResult> preparedQueryCommand, object[]? @params, CancellationToken cancellationToken)
Parameters
queryCommandQueryCommand<TResult>- Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .
preparedQueryCommandInMemoryPreparedQueryCommand<TResult>- Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .
paramsobject[]- Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .
cancellationTokenCancellationToken- Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .
Returns
- IAsyncEnumerator<TResult>
- Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .
Type Parameters
TResultThe element type produced by the query.
- Extension Methods