Click or drag to resize

CargoRecordQueryableExtensionsAsAsyncEnumerableT Method

This is preliminary documentation and is subject to change.

Casts the input IQueryableT instance into IAsyncEnumerableT instance.

Namespace: WikiClientLibrary.Cargo.Linq
Assembly: WikiClientLibrary.Cargo (in WikiClientLibrary.Cargo.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static IAsyncEnumerable<T> AsAsyncEnumerable<T>(
	this IQueryable<T> queryable
)

Parameters

queryable  IQueryableT
the input queryable that should have implemented IAsyncEnumerableT.

Type Parameters

T
type of the item.

Return Value

IAsyncEnumerableT
the same object reference as queryable.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
InvalidOperationExceptioninput queryable does not implement IAsyncEnumerableT.
Remarks
This method is expected to have exactly the same behavior as AsAsyncEnumerable.
See Also