ParallelEnumerable Methods

Task Parallel System.Threading

The ParallelEnumerable type exposes the following members.

Methods

  NameDescription
AggregateOverloaded.
All<(Of <(TSource>)>)
Determines in parallel whether all elements of a sequence satisfy a condition.
AnyOverloaded.
AsEnumerable<(Of <(TSource>)>)
Converts a ParallelQuery<(Of <(TSource>)>) into an IEnumerable<(Of <(T>)>) to force sequential evaluation of the query.
AsOrderedOverloaded.
AsParallelOverloaded.
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.
AverageOverloaded.
Cast<(Of <(TResult>)>)
Converts the elements of a ParallelQuery to the specified type.
ConcatOverloaded.
ContainsOverloaded.
CountOverloaded.
DefaultIfEmptyOverloaded.
DistinctOverloaded.
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.
ExceptOverloaded.
FirstOverloaded.
FirstOrDefaultOverloaded.
ForAll<(Of <(TSource>)>)
Invokes in parallel the specified action for each element in the source.
GroupByOverloaded.
GroupJoinOverloaded.
IntersectOverloaded.
JoinOverloaded.
LastOverloaded.
LastOrDefaultOverloaded.
LongCountOverloaded.
MaxOverloaded.
MinOverloaded.
OfType<(Of <(TResult>)>)
Filters the elements of a ParallelQuery based on a specified type.
OrderByOverloaded.
OrderByDescendingOverloaded.
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.
SelectOverloaded.
SelectManyOverloaded.
SequenceEqualOverloaded.
SingleOverloaded.
SingleOrDefaultOverloaded.
Skip<(Of <(TSource>)>)
Bypasses a specified number of elements in a parallel sequence and then returns the remaining elements.
SkipWhileOverloaded.
SumOverloaded.
Take<(Of <(TSource>)>)
Returns a specified number of contiguous elements from the start of a parallel sequence.
TakeWhileOverloaded.
ThenByOverloaded.
ThenByDescendingOverloaded.
ToArray<(Of <(TSource>)>)
Creates an array from a ParallelQuery{T}.
ToDictionaryOverloaded.
ToList<(Of <(TSource>)>)
Creates a List{T} from an ParallelQuery{T}.
ToLookupOverloaded.
UnionOverloaded.
WhereOverloaded.
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.
ZipOverloaded.

See Also