AsyncQueryableGroupByTSource, TKey, TElement Method (IAsyncQueryableTSource, ExpressionFuncTSource, TKey, ExpressionFuncTSource, TElement) |
Namespace: System.LinqAssembly: System.Interactive.Async.Providers (in System.Interactive.Async.Providers.dll) Version: 1.2.0.0
Syntaxpublic static IAsyncQueryable<IAsyncGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(
this IAsyncQueryable<TSource> source,
Expression<Func<TSource, TKey>> keySelector,
Expression<Func<TSource, TElement>> elementSelector
)
Parameters
- source
- Type: System.LinqIAsyncQueryableTSource
- keySelector
- Type: System.Linq.ExpressionsExpressionFuncTSource, TKey
- elementSelector
- Type: System.Linq.ExpressionsExpressionFuncTSource, TElement
Type Parameters
- TSource
- TKey
- TElement
Return Value
Type:
IAsyncQueryableIAsyncGroupingTKey,
TElementUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncQueryableTSource. 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).
See Also