ParallelEnumerable Class
Provides a set of static methods that invoke one or more of the query operators on IParallelQuery<TSource>
objects.
These are the extension methods that operate on parallel collections.
Summary of Members
The ParallelEnumerable
class exposes the following members:
Methods
Name | Description |
---|---|
public static IEnumerable<TSource> AsEnumerable<TSource>(this IParallelQuery<TSource> source)
|
Converts an IParallelQuery<TSource> to an IEnumerable<TSource> . |
public static IParallelQuery<TSource> AsOrdered<TSource>(this IParallelQuery<TSource> source)
|
Asserts that the query results preserve the original ordering of the data source. |
public static IParallelQuery<TSource> AsUnordered<TSource>(this IParallelQuery<TSource> source)
|
Asserts that the query results do not preserve the original ordering of the data source. |
public static TSource[] ToArray<TSource>(this IParallelQuery<TSource> source)
|
Converts an IParallelQuery<TSource> to an array. |
public static List<TSource> ToList<TSource>(this IParallelQuery<TSource> source)
|
Converts an IParallelQuery<TSource> to a List<TSource> . |