ParallelEnumerable Methods
From Task Parallel System.Threading
|
|
| .NET Framework Class Library |
| ParallelEnumerable Methods |
| ParallelEnumerable Class See Also Send Feedback |
The ParallelEnumerable type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Aggregate | Overloaded. | |
| All<(Of <(TSource>)>) |
Determines in parallel whether all elements of a sequence satisfy a condition.
| |
| Any | Overloaded. | |
| AsEnumerable<(Of <(TSource>)>) |
Converts a ParallelQuery<(Of <(TSource>)>) into an
IEnumerable<(Of <(T>)>) to force sequential
evaluation of the query.
| |
| AsOrdered | Overloaded. | |
| AsParallel | Overloaded. | |
| AsSequential<(Of <(TSource>)>) |
Converts a ParallelQuery<(Of <(TSource>)>) into an
IEnumerable<(Of <(T>)>) to force sequential
evaluation of the query.
| |
| AsUnordered<(Of <(TSource>)>) |
Allows an intermediate query to be treated as if no ordering is implied among the elements.
| |
| Average | Overloaded. | |
| Cast<(Of <(TResult>)>) |
Converts the elements of a ParallelQuery to the specified type.
| |
| Concat | Overloaded. | |
| Contains | Overloaded. | |
| Count | Overloaded. | |
| DefaultIfEmpty | Overloaded. | |
| Distinct | Overloaded. | |
| ElementAt<(Of <(TSource>)>) |
Returns the element at a specified index in a parallel sequence.
| |
| ElementAtOrDefault<(Of <(TSource>)>) |
Returns the element at a specified index in a parallel sequence or a default value if the
index is out of range.
| |
| Empty<(Of <(TResult>)>) |
Returns an empty ParallelQuery{TResult} that has the specified type argument.
| |
| Except | Overloaded. | |
| First | Overloaded. | |
| FirstOrDefault | Overloaded. | |
| ForAll<(Of <(TSource>)>) |
Invokes in parallel the specified action for each element in the source.
| |
| GroupBy | Overloaded. | |
| GroupJoin | Overloaded. | |
| Intersect | Overloaded. | |
| Join | Overloaded. | |
| Last | Overloaded. | |
| LastOrDefault | Overloaded. | |
| LongCount | Overloaded. | |
| Max | Overloaded. | |
| Min | Overloaded. | |
| OfType<(Of <(TResult>)>) |
Filters the elements of a ParallelQuery based on a specified type.
| |
| OrderBy | Overloaded. | |
| OrderByDescending | Overloaded. | |
| Range |
Generates a parallel sequence of integral numbers within a specified range.
| |
| Repeat<(Of <(TResult>)>) |
Generates a parallel sequence that contains one repeated value.
| |
| Reverse<(Of <(TSource>)>) |
Inverts the order of the elements in a parallel sequence.
| |
| Select | Overloaded. | |
| SelectMany | Overloaded. | |
| SequenceEqual | Overloaded. | |
| Single | Overloaded. | |
| SingleOrDefault | Overloaded. | |
| Skip<(Of <(TSource>)>) |
Bypasses a specified number of elements in a parallel sequence and then returns the remaining elements.
| |
| SkipWhile | Overloaded. | |
| Sum | Overloaded. | |
| Take<(Of <(TSource>)>) |
Returns a specified number of contiguous elements from the start of a parallel sequence.
| |
| TakeWhile | Overloaded. | |
| ThenBy | Overloaded. | |
| ThenByDescending | Overloaded. | |
| ToArray<(Of <(TSource>)>) |
Creates an array from a ParallelQuery{T}.
| |
| ToDictionary | Overloaded. | |
| ToList<(Of <(TSource>)>) |
Creates a List{T} from an ParallelQuery{T}.
| |
| ToLookup | Overloaded. | |
| Union | Overloaded. | |
| Where | Overloaded. | |
| WithCancellation<(Of <(TSource>)>) |
Sets the CancellationToken to associate with the query.
| |
| WithDegreeOfParallelism<(Of <(TSource>)>) |
Sets the degree of parallelism to use in a query. Degree of parallelism is the maximum number of concurrently
executing tasks that will be used to process the query.
| |
| WithExecutionMode<(Of <(TSource>)>) |
Sets the execution mode of the query.
| |
| WithMergeOptions<(Of <(TSource>)>) |
Sets the merge options for this query, which specify how the query will buffer output.
| |
| Zip | Overloaded. |