SelectMany Method

Task Parallel System.Threading

Overload List

  NameDescription
SelectMany<(Of <(TSource, TResult>)>)(ParallelQuery<(Of <(TSource>)>), Func<(Of <(TSource, IEnumerable<(Of <(TResult>)>)>)>))
Projects in parallel each element of a sequence to an IEnumerable{T} and flattens the resulting sequences into one sequence.
SelectMany<(Of <(TSource, TResult>)>)(ParallelQuery<(Of <(TSource>)>), Func<(Of <(TSource, Int32, IEnumerable<(Of <(TResult>)>)>)>))
Projects in parallel each element of a sequence to an IEnumerable{T}, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element.
SelectMany<(Of <(TSource, TCollection, TResult>)>)(ParallelQuery<(Of <(TSource>)>), Func<(Of <(TSource, IEnumerable<(Of <(TCollection>)>)>)>), Func<(Of <(TSource, TCollection, TResult>)>))
Projects each element of a sequence to an IEnumerable{T}, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.
SelectMany<(Of <(TSource, TCollection, TResult>)>)(ParallelQuery<(Of <(TSource>)>), Func<(Of <(TSource, Int32, IEnumerable<(Of <(TCollection>)>)>)>), Func<(Of <(TSource, TCollection, TResult>)>))
Projects each element of a sequence to an IEnumerable{T}, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element.

See Also