ParallelEnumerable Class

Definition

提供一组用于查询实现 ParallelQuery{TSource} 的对象的方法。Provides a set of methods for querying objects that implement ParallelQuery{TSource}. 这是 Enumerable 的并行等效项。This is the parallel equivalent of Enumerable.

public ref class ParallelEnumerable abstract sealed
public static class ParallelEnumerable
type ParallelEnumerable = class
Public Module ParallelEnumerable
Inheritance
ParallelEnumerable

Methods

Aggregate<TSource,TAccumulate,TResult>(ParallelQuery<TSource>, Func<TAccumulate>, Func<TAccumulate,TSource,TAccumulate>, Func<TAccumulate,TAccumulate,TAccumulate>, Func<TAccumulate,TResult>)

对一个序列并行应用累加器函数。Applies in parallel an accumulator function over a sequence. 此重载在顺序实现中不可用。This overload is not available in the sequential implementation.

Aggregate<TSource,TAccumulate,TResult>(ParallelQuery<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>, Func<TAccumulate,TAccumulate,TAccumulate>, Func<TAccumulate,TResult>)

对一个序列并行应用累加器函数。Applies in parallel an accumulator function over a sequence. 此重载在顺序实现中不可用。This overload is not available in the sequential implementation.

Aggregate<TSource,TAccumulate,TResult>(ParallelQuery<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>, Func<TAccumulate,TResult>)

对一个序列并行应用累加器函数。Applies in parallel an accumulator function over a sequence. 将指定的种子值用作累加器的初始值,并使用指定的函数选择结果值。The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.

Aggregate<TSource,TAccumulate>(ParallelQuery<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>)

对一个序列并行应用累加器函数。Applies in parallel an accumulator function over a sequence. 将指定的种子值用作累加器初始值。The specified seed value is used as the initial accumulator value.

Aggregate<TSource>(ParallelQuery<TSource>, Func<TSource,TSource,TSource>)

对一个序列并行应用累加器函数。Applies in parallel an accumulator function over a sequence.

All<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

并行确定序列中的所有元素是否都满足条件。Determines in parallel whether all elements of a sequence satisfy a condition.

Any<TSource>(ParallelQuery<TSource>)

确定并行序列是否包含任何元素。Determines whether a parallel sequence contains any elements.

Any<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

并行确定序列中的任何元素是否都满足条件。Determines in parallel whether any element of a sequence satisfies a condition.

AsEnumerable<TSource>(ParallelQuery<TSource>)

ParallelQuery<TSource> 转换为 IEnumerable<T> 以强制对查询进行顺序计算。Converts a ParallelQuery<TSource> into an IEnumerable<T> to force sequential evaluation of the query.

AsOrdered(ParallelQuery)

启用将数据源视为“已经排序”的处理方法,重写默认的将数据源视为“未经排序”的处理方法。Enables treatment of a data source as if it were ordered, overriding the default of unordered. 只可以对由 AsParallel、ParallelEnumerable.Range 和 ParallelEnumerable.Repeat 返回的非泛型序列调用 AsOrdered。AsOrdered may only be invoked on non-generic sequences returned by AsParallel, ParallelEnumerable.Range, and ParallelEnumerable.Repeat.

AsOrdered<TSource>(ParallelQuery<TSource>)

启用将数据源视为“已经排序”的处理方法,重写默认的将数据源视为“未经排序”的处理方法。Enables treatment of a data source as if it were ordered, overriding the default of unordered. 只可以对由 AsParallel、ParallelEnumerable.Range 和 ParallelEnumerable.Repeat 返回的泛型序列调用 AsOrdered。AsOrdered may only be invoked on generic sequences returned by AsParallel, ParallelEnumerable.Range, and ParallelEnumerable.Repeat.

AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsParallel<TSource>(IEnumerable<TSource>)

启用查询的并行化。Enables parallelization of a query.

AsParallel<TSource>(Partitioner<TSource>)

启用查询的并行化,并由负责将输入序列拆分成各个分区的自定义分区程序指明其出处。Enables parallelization of a query, as sourced by a custom partitioner that is responsible for splitting the input sequence into partitions.

AsSequential<TSource>(ParallelQuery<TSource>)

ParallelQuery<TSource> 转换为 IEnumerable<T> 以强制对查询进行顺序计算。Converts a ParallelQuery<TSource> into an IEnumerable<T> to force sequential evaluation of the query.

AsUnordered<TSource>(ParallelQuery<TSource>)

允许将中间查询视为元素之间未应用任何排序。Allows an intermediate query to be treated as if no ordering is implied among the elements.

Average(ParallelQuery<Decimal>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average(ParallelQuery<Double>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average(ParallelQuery<Int32>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average(ParallelQuery<Int64>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average(ParallelQuery<Nullable<Decimal>>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average(ParallelQuery<Nullable<Double>>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average(ParallelQuery<Nullable<Int32>>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average(ParallelQuery<Nullable<Int64>>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average(ParallelQuery<Nullable<Single>>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average(ParallelQuery<Single>)

并行计算一个值序列的平均值。Computes in parallel the average of a sequence of values.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Decimal>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Double>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Int32>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Int64>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Decimal>>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Double>>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int32>>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int64>>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Single>>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Average<TSource>(ParallelQuery<TSource>, Func<TSource,Single>)

并行计算一个值序列的平均值,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Cast<TResult>(ParallelQuery)

将 ParallelQuery 的元素转换为指定的类型。Converts the elements of a ParallelQuery to the specified type.

Concat<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)

切勿调用此 Concat 重载。This Concat overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

Concat<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

连接两个并行序列。Concatenates two parallel sequences.

Contains<TSource>(ParallelQuery<TSource>, TSource)

通过使用默认的相等比较器,并行确定某个序列是否包含指定的元素。Determines in parallel whether a sequence contains a specified element by using the default equality comparer.

Contains<TSource>(ParallelQuery<TSource>, TSource, IEqualityComparer<TSource>)

通过使用指定的 IEqualityComparer<T> 来并行确定序列是否包含指定的元素。Determines in parallel whether a sequence contains a specified element by using a specified IEqualityComparer<T>.

Count<TSource>(ParallelQuery<TSource>)

返回并行序列中的元素数量。Returns the number of elements in a parallel sequence.

Count<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

返回一个数字,表示在指定的并行序列中满足条件的元素数量。Returns a number that represents how many elements in the specified parallel sequence satisfy a condition.

DefaultIfEmpty<TSource>(ParallelQuery<TSource>)

返回指定的并行序列的元素;如果序列为空,则返回单一实例集合中的类型参数的默认值。Returns the elements of the specified parallel sequence or the type parameter's default value in a singleton collection if the sequence is empty.

DefaultIfEmpty<TSource>(ParallelQuery<TSource>, TSource)

返回指定的并行序列中的元素;如果序列为空,则返回单一实例集合中的指定值。Returns the elements of the specified parallel sequence or the specified value in a singleton collection if the sequence is empty.

Distinct<TSource>(ParallelQuery<TSource>)

通过使用默认的相等比较器对值进行比较,返回并行序列中的非重复元素。Returns distinct elements from a parallel sequence by using the default equality comparer to compare values.

Distinct<TSource>(ParallelQuery<TSource>, IEqualityComparer<TSource>)

通过使用指定的 IEqualityComparer<T> 对值进行比较,返回并行序列中的非重复元素。Returns distinct elements from a parallel sequence by using a specified IEqualityComparer<T> to compare values.

ElementAt<TSource>(ParallelQuery<TSource>, Int32)

返回并行序列中指定索引处的元素。Returns the element at a specified index in a parallel sequence.

ElementAtOrDefault<TSource>(ParallelQuery<TSource>, Int32)

返回并行序列中指定索引处的元素;如果索引超出范围,则返回默认值。Returns the element at a specified index in a parallel sequence or a default value if the index is out of range.

Empty<TResult>()

返回一个具有指定的类型参数的空 ParallelQuery{TResult}。Returns an empty ParallelQuery{TResult} that has the specified type argument.

Except<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)

切勿调用此 Except 重载。This Except overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

Except<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

切勿调用此 Except 重载。This Except overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

Except<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

通过使用默认的相等比较器对值进行比较,生成两个并行序列的差集。Produces the set difference of two parallel sequences by using the default equality comparer to compare values.

Except<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>, IEqualityComparer<TSource>)

通过使用指定的 IEqualityComparer<T> 对值进行比较产生两个并行序列的差集。Produces the set difference of two parallel sequences by using the specified IEqualityComparer<T> to compare values.

First<TSource>(ParallelQuery<TSource>)

返回并行序列中的第一个元素。Returns the first element of a parallel sequence.

First<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

返回并行序列中满足指定条件的第一个元素。Returns the first element in a parallel sequence that satisfies a specified condition.

FirstOrDefault<TSource>(ParallelQuery<TSource>)

返回并行序列中的第一个元素;如果该序列中不包含任何元素,则返回默认值。Returns the first element of a parallel sequence, or a default value if the sequence contains no elements.

FirstOrDefault<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

返回并行序列中满足条件的第一个元素;如果未找到这样的元素,则返回默认值。Returns the first element of the parallel sequence that satisfies a condition or a default value if no such element is found.

ForAll<TSource>(ParallelQuery<TSource>, Action<TSource>)

source 中的每个元素并行调用指定的操作。Invokes in parallel the specified action for each element in the source.

GroupBy<TSource,TKey,TElement,TResult>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>,TResult>)

根据指定的键选择器函数对序列中的元素进行并行分组,并且从每个组及其键中创建结果值。Groups in parallel the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. 通过使用指定的函数对每个组的元素进行投影。The elements of each group are projected by using a specified function.

GroupBy<TSource,TKey,TElement,TResult>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>,TResult>, IEqualityComparer<TKey>)

根据指定的键选择器函数对序列中的元素进行分组,并且从每个组及其键中创建结果值。Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. 通过使用指定的比较器对键值进行比较,并且通过使用指定的函数对每个组的元素进行投影。Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function.

GroupBy<TSource,TKey,TElement>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)

根据指定的键选择器函数对序列中的元素进行并行分组,并且通过使用指定的函数对每个组中的元素进行投影。Groups in parallel the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function.

GroupBy<TSource,TKey,TElement>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)

根据键选择器函数对序列中的元素进行并行分组。Groups in parallel the elements of a sequence according to a key selector function. 通过使用比较器对键进行比较,并且通过使用指定的函数对每个组的元素进行投影。The keys are compared by using a comparer and each group's elements are projected by using a specified function.

GroupBy<TSource,TKey,TResult>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>)

根据指定的键选择器函数对序列中的元素进行并行分组,并且从每个组及其键中创建结果值。Groups in parallel the elements of a sequence according to a specified key selector function and creates a result value from each group and its key.

GroupBy<TSource,TKey,TResult>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>, IEqualityComparer<TKey>)

根据指定的键选择器函数对序列中的元素进行并行分组,并且从每个组及其键中创建结果值。Groups in parallel the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. 通过使用指定的比较器对键进行比较。The keys are compared by using a specified comparer.

GroupBy<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>)

根据指定的键选择器函数对序列中的元素进行并行分组。Groups in parallel the elements of a sequence according to a specified key selector function.

GroupBy<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

根据指定的键选择器函数对序列中的元素进行并行分组,并使用指定的 IComparer<T> 对键进行比较。Groups in parallel the elements of a sequence according to a specified key selector function and compares the keys by using a specified IComparer<T>.

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>,TResult>)

切勿调用此 GroupJoin 重载。This GroupJoin overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>,TResult>, IEqualityComparer<TKey>)

切勿调用此 GroupJoin 重载。This GroupJoin overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, ParallelQuery<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>,TResult>)

基于键相等对两个序列的元素进行并行关联并对结果进行分组。Correlates in parallel the elements of two sequences based on equality of keys and groups the results. 使用默认的相等比较器对键进行比较。The default equality comparer is used to compare keys.

GroupJoin<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, ParallelQuery<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>,TResult>, IEqualityComparer<TKey>)

基于键相等对两个序列的元素进行并行关联并对结果进行分组。Correlates in parallel the elements of two sequences based on key equality and groups the results. 使用指定的 IEqualityComparer<T> 对键进行比较。A specified IEqualityComparer<T> is used to compare keys.

Intersect<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)

切勿调用此 Intersect 重载。This Intersect overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

Intersect<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

切勿调用此 Intersect 重载。This Intersect overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

Intersect<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

通过使用默认的相等比较器对值进行比较,生成两个并行序列的交集。Produces the set intersection of two parallel sequences by using the default equality comparer to compare values.

Intersect<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>, IEqualityComparer<TSource>)

通过使用指定的 IEqualityComparer{T} 对值进行比较,生成两个并行序列的交集。Produces the set intersection of two parallel sequences by using the specified IEqualityComparer{T} to compare values.

Join<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>)

切勿调用此 Join 重载。This Join overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when invoked.

Join<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>, IEqualityComparer<TKey>)

切勿调用此 Join 重载。This Join overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when invoked.

Join<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, ParallelQuery<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>)

基于匹配键对两个序列的元素进行并行关联。Correlates in parallel the elements of two sequences based on matching keys. 使用默认的相等比较器对键进行比较。The default equality comparer is used to compare keys.

Join<TOuter,TInner,TKey,TResult>(ParallelQuery<TOuter>, ParallelQuery<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>, IEqualityComparer<TKey>)

基于匹配键对两个序列的元素进行并行关联。Correlates in parallel the elements of two sequences based on matching keys. 使用指定的 IEqualityComparer<T> 对键进行比较。A specified IEqualityComparer<T> is used to compare keys.

Last<TSource>(ParallelQuery<TSource>)

返回并行序列中的最后一个元素。Returns the last element of a parallel sequence.

Last<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

返回并行序列中满足指定条件的最后一个元素。Returns the last element of a parallel sequence that satisfies a specified condition.

LastOrDefault<TSource>(ParallelQuery<TSource>)

返回并行序列中的最后一个元素;如果该序列中不包含任何元素,则返回默认值。Returns the last element of a parallel sequence, or a default value if the sequence contains no elements.

LastOrDefault<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

返回并行序列中满足条件的最后一个元素;如果未找到这样的元素,则返回默认值。Returns the last element of a parallel sequence that satisfies a condition, or a default value if no such element is found.

LongCount<TSource>(ParallelQuery<TSource>)

返回一个 Int64,表示并行序列中的元素的总数。Returns an Int64 that represents the total number of elements in a parallel sequence.

LongCount<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

返回一个 Int64,表示并行序列中满足条件的元素的数量。Returns an Int64 that represents how many elements in a parallel sequence satisfy a condition.

Max(ParallelQuery<Decimal>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max(ParallelQuery<Double>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max(ParallelQuery<Int32>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max(ParallelQuery<Int64>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max(ParallelQuery<Nullable<Decimal>>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max(ParallelQuery<Nullable<Double>>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max(ParallelQuery<Nullable<Int32>>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max(ParallelQuery<Nullable<Int64>>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max(ParallelQuery<Nullable<Single>>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max(ParallelQuery<Single>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max<TSource,TResult>(ParallelQuery<TSource>, Func<TSource,TResult>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>)

返回值的并行序列中的最大值。Returns the maximum value in a parallel sequence of values.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Decimal>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Double>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Int32>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Int64>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Decimal>>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Double>>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int32>>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int64>>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Single>>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Max<TSource>(ParallelQuery<TSource>, Func<TSource,Single>)

对一个序列中的每个元素并行调用转换函数,并返回最大值。Invokes in parallel a transform function on each element of a sequence and returns the maximum value.

Min(ParallelQuery<Decimal>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Double>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Int32>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Int64>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Decimal>>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Double>>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Int32>>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Int64>>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Single>>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Single>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min<TSource,TResult>(ParallelQuery<TSource>, Func<TSource,TResult>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>)

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Decimal>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Double>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Int32>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Int64>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Decimal>>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Double>>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int32>>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int64>>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Single>>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Single>)

对一个序列中的每个元素并行调用转换函数,并返回最小值。Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

OfType<TResult>(ParallelQuery)

根据指定类型筛选 ParallelQuery 的元素。Filters the elements of a ParallelQuery based on a specified type.

OrderBy<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>)

根据键按升序对序列中的元素进行并行排序。Sorts in parallel the elements of a sequence in ascending order according to a key.

OrderBy<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>, IComparer<TKey>)

使用指定的比较器按升序对序列中的元素进行并行排序。Sorts in parallel the elements of a sequence in ascending order by using a specified comparer.

OrderByDescending<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>)

根据键按降序对序列中的元素进行并行排序。Sorts in parallel the elements of a sequence in descending order according to a key.

OrderByDescending<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>, IComparer<TKey>)

使用指定的比较器按降序对序列的元素排序。Sorts the elements of a sequence in descending order by using a specified comparer.

Range(Int32, Int32)

生成指定范围内的整数的并行序列。Generates a parallel sequence of integral numbers within a specified range.

Repeat<TResult>(TResult, Int32)

生成包含一个重复值的并行序列。Generates a parallel sequence that contains one repeated value.

Reverse<TSource>(ParallelQuery<TSource>)

反转并行序列中元素的顺序。Inverts the order of the elements in a parallel sequence.

Select<TSource,TResult>(ParallelQuery<TSource>, Func<TSource,Int32,TResult>)

通过合并元素的索引,将序列的每个元素并行投影到新窗体中。Projects in parallel each element of a sequence into a new form by incorporating the element's index.

Select<TSource,TResult>(ParallelQuery<TSource>, Func<TSource,TResult>)

将序列中的每个元素并行投影到新窗体中。Projects in parallel each element of a sequence into a new form.

SelectMany<TSource,TCollection,TResult>(ParallelQuery<TSource>, Func<TSource,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>)

将序列的每个元素投影到 IEnumerable<T>,并将结果序列合并为一个序列,并对其中每个元素调用结果选择器函数。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<TSource,TCollection,TResult>(ParallelQuery<TSource>, Func<TSource,Int32,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>)

将序列的每个元素投影到 IEnumerable<T>,并将结果序列合并为一个序列,并对其中每个元素调用结果选择器函数。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.

SelectMany<TSource,TResult>(ParallelQuery<TSource>, Func<TSource,IEnumerable<TResult>>)

将序列的每个元素以并行方式投影到 IEnumerable<T> 并将结果序列合并为一个序列。Projects in parallel each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence.

SelectMany<TSource,TResult>(ParallelQuery<TSource>, Func<TSource,Int32,IEnumerable<TResult>>)

将序列的每个元素以并行方式投影到 IEnumerable<T> 并将结果序列合并为一个序列。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.

SequenceEqual<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)

切勿调用此 SequenceEqual 重载。This SequenceEqual overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

SequenceEqual<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

切勿调用此 SequenceEqual 重载。This SequenceEqual overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

SequenceEqual<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

通过使用相应类型的默认相等比较器对序列的元素进行比较,以确定两个并行序列是否相等。Determines whether two parallel sequences are equal by comparing the elements by using the default equality comparer for their type.

SequenceEqual<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>, IEqualityComparer<TSource>)

使用指定的 IEqualityComparer{T} 对两个并行序列的元素进行比较,以确定这两个序列是否相等。Determines whether two parallel sequences are equal by comparing their elements by using a specified IEqualityComparer{T}.

Single<TSource>(ParallelQuery<TSource>)

返回并行序列的唯一元素;如果该序列并非恰好包含一个元素,则会引发异常。Returns the only element of a parallel sequence, and throws an exception if there is not exactly one element in the sequence.

Single<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

返回并行序列中满足指定条件的唯一元素;如果有多个这样的元素存在,则会引发异常。Returns the only element of a parallel sequence that satisfies a specified condition, and throws an exception if more than one such element exists.

SingleOrDefault<TSource>(ParallelQuery<TSource>)

返回并行序列中的唯一元素;如果该序列为空,则返回默认值;如果该序列包含多个元素,此方法将引发异常。Returns the only element of a parallel sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.

SingleOrDefault<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

返回并行序列中满足指定条件的唯一元素;如果这类元素不存在,则返回默认值;如果有多个元素满足该条件,此方法将引发异常。Returns the only element of a parallel sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.

Skip<TSource>(ParallelQuery<TSource>, Int32)

跳过并行序列中指定数量的元素,然后返回剩余的元素。Bypasses a specified number of elements in a parallel sequence and then returns the remaining elements.

SkipWhile<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

跳过并行序列中满足指定条件的任何元素,然后返回剩余元素。Bypasses elements in a parallel sequence as long as a specified condition is true and then returns the remaining elements.

SkipWhile<TSource>(ParallelQuery<TSource>, Func<TSource,Int32,Boolean>)

跳过并行序列中满足指定条件的任何元素,然后返回剩余元素。Bypasses elements in a parallel sequence as long as a specified condition is true and then returns the remaining elements. 将在谓词函数的逻辑中使用元素的索引。The element's index is used in the logic of the predicate function.

Sum(ParallelQuery<Decimal>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum(ParallelQuery<Double>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum(ParallelQuery<Int32>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum(ParallelQuery<Int64>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum(ParallelQuery<Nullable<Decimal>>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum(ParallelQuery<Nullable<Double>>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum(ParallelQuery<Nullable<Int32>>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum(ParallelQuery<Nullable<Int64>>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum(ParallelQuery<Nullable<Single>>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum(ParallelQuery<Single>)

并行计算一个值序列的和。Computes in parallel the sum of a sequence of values.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Decimal>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Double>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Int32>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Int64>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Decimal>>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Double>>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int32>>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int64>>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Single>>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Sum<TSource>(ParallelQuery<TSource>, Func<TSource,Single>)

并行计算一个值序列的和,这些值可通过对输入序列的每个元素调用转换函数获得。Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.

Take<TSource>(ParallelQuery<TSource>, Int32)

从并行序列的开头返回指定数量的连续元素。Returns a specified number of contiguous elements from the start of a parallel sequence.

TakeWhile<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

只要指定的条件为 true,就会返回并行序列的元素。Returns elements from a parallel sequence as long as a specified condition is true.

TakeWhile<TSource>(ParallelQuery<TSource>, Func<TSource,Int32,Boolean>)

只要指定的条件为 true,就会返回并行序列的元素。Returns elements from a parallel sequence as long as a specified condition is true. 将在谓词函数的逻辑中使用元素的索引。The element's index is used in the logic of the predicate function.

ThenBy<TSource,TKey>(OrderedParallelQuery<TSource>, Func<TSource,TKey>)

根据某个键按升序对序列中的元素并行执行后续排序。Performs in parallel a subsequent ordering of the elements in a sequence in ascending order according to a key.

ThenBy<TSource,TKey>(OrderedParallelQuery<TSource>, Func<TSource,TKey>, IComparer<TKey>)

使用指定的比较器按升序对序列中的元素并行执行后续排序。Performs in parallel a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer.

ThenByDescending<TSource,TKey>(OrderedParallelQuery<TSource>, Func<TSource,TKey>)

根据某个键按降序对序列中的元素并行执行后续排序。Performs in parallel a subsequent ordering of the elements in a sequence in descending order, according to a key.

ThenByDescending<TSource,TKey>(OrderedParallelQuery<TSource>, Func<TSource,TKey>, IComparer<TKey>)

使用指定的比较器按降序对序列中的元素并行执行后续排序。Performs in parallel a subsequent ordering of the elements in a sequence in descending order by using a specified comparer.

ToArray<TSource>(ParallelQuery<TSource>)

ParallelQuery<TSource> 中创建数组。Creates an array from a ParallelQuery<TSource>.

ToDictionary<TSource,TKey,TElement>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)

根据指定的键选择器和元素选择器函数,从 Dictionary<TKey,TValue> 创建一个 ParallelQuery<TSource>Creates a Dictionary<TKey,TValue> from a ParallelQuery<TSource> according to specified key selector and element selector functions.

ToDictionary<TSource,TKey,TElement>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)

根据指定的键选择器函数、比较器和元素选择器函数,从 Dictionary<TKey,TValue> 创建一个 ParallelQuery<TSource>Creates a Dictionary<TKey,TValue> from a ParallelQuery<TSource> according to a specified key selector function, a comparer, and an element selector function.

ToDictionary<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>)

根据指定的键选择器函数,从 Dictionary<TKey,TValue> 创建一个 ParallelQuery<TSource>Creates a Dictionary<TKey,TValue> from a ParallelQuery<TSource> according to a specified key selector function.

ToDictionary<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

根据指定的键选择器函数和键比较器,从 ParallelQuery<TSource> 创建一个 Dictionary<TKey,TValue>Creates a Dictionary<TKey,TValue> from a ParallelQuery<TSource> according to a specified key selector function and key comparer.

ToList<TSource>(ParallelQuery<TSource>)

ParallelQuery<TSource> 创建一个 List<T>Creates a List<T> from an ParallelQuery<TSource>.

ToLookup<TSource,TKey,TElement>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)

根据指定的键选择器和元素选择器函数,从 ILookup<TKey,TElement> 创建一个 ParallelQuery<TSource>Creates an ILookup<TKey,TElement> from a ParallelQuery<TSource> according to specified key selector and element selector functions.

ToLookup<TSource,TKey,TElement>(ParallelQuery<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)

根据指定的键选择器函数、比较器和元素选择器函数从 ILookup<TKey,TElement> 创建一个 ParallelQuery<TSource>Creates an ILookup<TKey,TElement> from a ParallelQuery<TSource> according to a specified key selector function, a comparer and an element selector function.

ToLookup<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>)

根据指定的键选择器函数,从 ILookup<TKey,TElement> 创建一个 ParallelQuery<TSource>Creates an ILookup<TKey,TElement> from a ParallelQuery<TSource> according to a specified key selector function.

ToLookup<TSource,TKey>(ParallelQuery<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

根据指定的键选择器函数和键比较器,从 ILookup<TKey,TElement> 创建一个 ParallelQuery<TSource>Creates an ILookup<TKey,TElement> from a ParallelQuery<TSource> according to a specified key selector function and key comparer.

Union<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)

切勿调用此 Union 重载。This Union overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

Union<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

切勿调用此 Union 重载。This Union overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when called.

Union<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

通过使用默认的相等比较器,生成两个并行序列的并集。Produces the set union of two parallel sequences by using the default equality comparer.

Union<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>, IEqualityComparer<TSource>)

通过使用指定的 IEqualityComparer{T} 生成两个并行序列的并集。Produces the set union of two parallel sequences by using a specified IEqualityComparer{T}.

Where<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

基于谓词并行筛选值序列。Filters in parallel a sequence of values based on a predicate.

Where<TSource>(ParallelQuery<TSource>, Func<TSource,Int32,Boolean>)

基于谓词并行筛选值序列。Filters in parallel a sequence of values based on a predicate. 将在谓词函数的逻辑中使用每个元素的索引。Each element's index is used in the logic of the predicate function.

WithCancellation<TSource>(ParallelQuery<TSource>, CancellationToken)

设置要与查询关联的 CancellationTokenSets the CancellationToken to associate with the query.

WithDegreeOfParallelism<TSource>(ParallelQuery<TSource>, Int32)

设置要在查询中使用的并行度。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<TSource>(ParallelQuery<TSource>, ParallelExecutionMode)

设置查询的执行模式。Sets the execution mode of the query.

WithMergeOptions<TSource>(ParallelQuery<TSource>, ParallelMergeOptions)

设置此查询的合并选项,它指定查询对输出进行缓冲处理的方式。Sets the merge options for this query, which specify how the query will buffer output.

Zip<TFirst,TSecond,TResult>(ParallelQuery<TFirst>, IEnumerable<TSecond>, Func<TFirst,TSecond,TResult>)

切勿调用此 Zip 重载。This Zip overload should never be called. 此方法已标记为过时,调用此方法时总是会引发 NotSupportedExceptionThis method is marked as obsolete and always throws NotSupportedException when invoked.

Zip<TFirst,TSecond,TResult>(ParallelQuery<TFirst>, ParallelQuery<TSecond>, Func<TFirst,TSecond,TResult>)

通过使用指定的谓词函数并行合并两个序列。Merges in parallel two sequences by using the specified predicate function.

Applies to

See also