Diff<>(old, new, comparer, predicate, postProcessor) NewArray<>(size1, size2, size3, initialiser) RunMain(main, onUnhandledMain, onUnhandledThread) RunMain(main, onUnhandledMain, onUnhandledThread)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: IEnumerable<TResult> ParallelSelectMany<TSource, TResult>(this IEnumerable<TSource>, int, Func<TSource, IEnumerable<TResult>>)Declarationpublic static IEnumerable<TResult> ParallelSelectMany<TSource, TResult>(
this IEnumerable<TSource> items,
int maxSimultaneous,
Func<TSource, IEnumerable<TResult>> selector
) Summary
Runs the specified function in parallel for each item in the input collection and returns a collection
containing the concatenation of all the results of the function calls. Generic type parametersTSource |
The type of the elements of items. | TResult |
The type of the elements of the sequence returned by selector. |
Parametersthis IEnumerable<TSource> | items |
Input collection of items to pass to the function. | int | maxSimultaneous |
Maximum number of concurrent threads allowed. | Func<TSource, IEnumerable<TResult>> | selector |
Function that returns a collection for each input item. |
|