ParallelEnumerable.SelectMany<TSource, TResult> Method (ParallelQuery<TSource>, Func<TSource, IEnumerable<TResult>>)
Projects in parallel each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence.
Assembly: System.Core (in System.Core.dll)
public static ParallelQuery<TResult> SelectMany<TSource, TResult>( this ParallelQuery<TSource> source, Func<TSource, IEnumerable<TResult>> selector )
A sequence of values to project.
Return ValueType: System.Linq.ParallelQuery< >
A sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
The type of elements of source.
The type of the elements of the sequence returned by selector.
Available since 8
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1