mscorlib(4.0.0.0) API with additions
|
Provides a set of methods for querying objects that implement ParallelQuery{TSource}. This is the parallel equivalent of T:System.Linq.Enumerable. More...
Static Public Member Functions | |
static ParallelQuery< TSource > | AsParallel< TSource > (this IEnumerable< TSource > source) |
Enables parallelization of a query. More... | |
static ParallelQuery< TSource > | AsParallel< TSource > (this Partitioner< TSource > source) |
Enables parallelization of a query, as sourced by a custom partitioner that is responsible for splitting the input sequence into partitions. More... | |
static ParallelQuery< TSource > | AsOrdered< TSource > (this ParallelQuery< TSource > source) |
Enables treatment of a data source as if it were ordered, overriding the default of unordered. AsOrdered may only be invoked on generic sequences returned by AsParallel, ParallelEnumerable.Range, and ParallelEnumerable.Repeat. More... | |
static ParallelQuery | AsOrdered (this ParallelQuery source) |
Enables treatment of a data source as if it were ordered, overriding the default of unordered. AsOrdered may only be invoked on non-generic sequences returned by AsParallel, ParallelEnumerable.Range, and ParallelEnumerable.Repeat. More... | |
static ParallelQuery< TSource > | AsUnordered< TSource > (this ParallelQuery< TSource > source) |
Allows an intermediate query to be treated as if no ordering is implied among the elements. More... | |
static ParallelQuery | AsParallel (this IEnumerable source) |
Enables parallelization of a query. More... | |
static IEnumerable< TSource > | AsSequential< TSource > (this ParallelQuery< TSource > source) |
Converts a T:System.Linq.ParallelQuery`1 into an T:System.Collections.Generic.IEnumerable`1 to force sequential evaluation of the query. More... | |
static ParallelQuery< TSource > | WithDegreeOfParallelism< TSource > (this ParallelQuery< TSource > source, int degreeOfParallelism) |
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. More... | |
static ParallelQuery< TSource > | WithCancellation< TSource > (this ParallelQuery< TSource > source, CancellationToken cancellationToken) |
Sets the T:System.Threading.CancellationToken to associate with the query. More... | |
static ParallelQuery< TSource > | WithExecutionMode< TSource > (this ParallelQuery< TSource > source, ParallelExecutionMode executionMode) |
Sets the execution mode of the query. More... | |
static ParallelQuery< TSource > | WithMergeOptions< TSource > (this ParallelQuery< TSource > source, ParallelMergeOptions mergeOptions) |
Sets the merge options for this query, which specify how the query will buffer output. More... | |
static ParallelQuery< int > | Range (int start, int count) |
Generates a parallel sequence of integral numbers within a specified range. More... | |
static ParallelQuery< TResult > | Repeat< TResult > (TResult element, int count) |
Generates a parallel sequence that contains one repeated value. More... | |
static ParallelQuery< TResult > | Empty< TResult > () |
Returns an empty ParallelQuery{TResult} that has the specified type argument. More... | |
static void | ForAll< TSource > (this ParallelQuery< TSource > source, Action< TSource > action) |
Invokes in parallel the specified action for each element in the source . More... | |
static ParallelQuery< TSource > | Where< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Filters in parallel a sequence of values based on a predicate. More... | |
static ParallelQuery< TSource > | Where< TSource > (this ParallelQuery< TSource > source, Func< TSource, int, bool > predicate) |
Filters in parallel a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function. More... | |
static ParallelQuery< TResult > | Select< TSource, TResult > (this ParallelQuery< TSource > source, Func< TSource, TResult > selector) |
Projects in parallel each element of a sequence into a new form. More... | |
static ParallelQuery< TResult > | Select< TSource, TResult > (this ParallelQuery< TSource > source, Func< TSource, int, TResult > selector) |
Projects in parallel each element of a sequence into a new form by incorporating the element's index. More... | |
static ParallelQuery< TResult > | Zip< TFirst, TSecond, TResult > (this ParallelQuery< TFirst > first, ParallelQuery< TSecond > second, Func< TFirst, TSecond, TResult > resultSelector) |
Merges in parallel two sequences by using the specified predicate function. More... | |
static ParallelQuery< TResult > | Zip< TFirst, TSecond, TResult > (this ParallelQuery< TFirst > first, IEnumerable< TSecond > second, Func< TFirst, TSecond, TResult > resultSelector) |
This Zip overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when invoked. More... | |
static ParallelQuery< TResult > | Join< TOuter, TInner, TKey, TResult > (this ParallelQuery< TOuter > outer, ParallelQuery< TInner > inner, Func< TOuter, TKey > outerKeySelector, Func< TInner, TKey > innerKeySelector, Func< TOuter, TInner, TResult > resultSelector) |
Correlates in parallel the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. More... | |
static ParallelQuery< TResult > | Join< TOuter, TInner, TKey, TResult > (this ParallelQuery< TOuter > outer, IEnumerable< TInner > inner, Func< TOuter, TKey > outerKeySelector, Func< TInner, TKey > innerKeySelector, Func< TOuter, TInner, TResult > resultSelector) |
This Join overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when invoked. More... | |
static ParallelQuery< TResult > | Join< TOuter, TInner, TKey, TResult > (this ParallelQuery< TOuter > outer, ParallelQuery< TInner > inner, Func< TOuter, TKey > outerKeySelector, Func< TInner, TKey > innerKeySelector, Func< TOuter, TInner, TResult > resultSelector, IEqualityComparer< TKey > comparer) |
Correlates in parallel the elements of two sequences based on matching keys. A specified T:System.Collections.Generic.IEqualityComparer`1 is used to compare keys. More... | |
static ParallelQuery< TResult > | Join< TOuter, TInner, TKey, TResult > (this ParallelQuery< TOuter > outer, IEnumerable< TInner > inner, Func< TOuter, TKey > outerKeySelector, Func< TInner, TKey > innerKeySelector, Func< TOuter, TInner, TResult > resultSelector, IEqualityComparer< TKey > comparer) |
This Join overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when invoked. More... | |
static ParallelQuery< TResult > | GroupJoin< TOuter, TInner, TKey, TResult > (this ParallelQuery< TOuter > outer, ParallelQuery< TInner > inner, Func< TOuter, TKey > outerKeySelector, Func< TInner, TKey > innerKeySelector, Func< TOuter, IEnumerable< TInner >, TResult > resultSelector) |
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. More... | |
static ParallelQuery< TResult > | GroupJoin< TOuter, TInner, TKey, TResult > (this ParallelQuery< TOuter > outer, IEnumerable< TInner > inner, Func< TOuter, TKey > outerKeySelector, Func< TInner, TKey > innerKeySelector, Func< TOuter, IEnumerable< TInner >, TResult > resultSelector) |
This GroupJoin overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static ParallelQuery< TResult > | GroupJoin< TOuter, TInner, TKey, TResult > (this ParallelQuery< TOuter > outer, ParallelQuery< TInner > inner, Func< TOuter, TKey > outerKeySelector, Func< TInner, TKey > innerKeySelector, Func< TOuter, IEnumerable< TInner >, TResult > resultSelector, IEqualityComparer< TKey > comparer) |
Correlates in parallel the elements of two sequences based on key equality and groups the results. A specified T:System.Collections.Generic.IEqualityComparer`1 is used to compare keys. More... | |
static ParallelQuery< TResult > | GroupJoin< TOuter, TInner, TKey, TResult > (this ParallelQuery< TOuter > outer, IEnumerable< TInner > inner, Func< TOuter, TKey > outerKeySelector, Func< TInner, TKey > innerKeySelector, Func< TOuter, IEnumerable< TInner >, TResult > resultSelector, IEqualityComparer< TKey > comparer) |
This GroupJoin overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static ParallelQuery< TResult > | SelectMany< TSource, TResult > (this ParallelQuery< TSource > source, Func< TSource, IEnumerable< TResult >> selector) |
Projects in parallel each element of a sequence to an T:System.Collections.Generic.IEnumerable`1 and flattens the resulting sequences into one sequence. More... | |
static ParallelQuery< TResult > | SelectMany< TSource, TResult > (this ParallelQuery< TSource > source, Func< TSource, int, IEnumerable< TResult >> selector) |
Projects in parallel each element of a sequence to an T:System.Collections.Generic.IEnumerable`1, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element. More... | |
static ParallelQuery< TResult > | SelectMany< TSource, TCollection, TResult > (this ParallelQuery< TSource > source, Func< TSource, IEnumerable< TCollection >> collectionSelector, Func< TSource, TCollection, TResult > resultSelector) |
Projects each element of a sequence to an T:System.Collections.Generic.IEnumerable`1, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. More... | |
static ParallelQuery< TResult > | SelectMany< TSource, TCollection, TResult > (this ParallelQuery< TSource > source, Func< TSource, int, IEnumerable< TCollection >> collectionSelector, Func< TSource, TCollection, TResult > resultSelector) |
Projects each element of a sequence to an T:System.Collections.Generic.IEnumerable`1, 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. More... | |
static OrderedParallelQuery< TSource > | OrderBy< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector) |
Sorts in parallel the elements of a sequence in ascending order according to a key. More... | |
static OrderedParallelQuery< TSource > | OrderBy< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, IComparer< TKey > comparer) |
Sorts in parallel the elements of a sequence in ascending order by using a specified comparer. More... | |
static OrderedParallelQuery< TSource > | OrderByDescending< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector) |
Sorts in parallel the elements of a sequence in descending order according to a key. More... | |
static OrderedParallelQuery< TSource > | OrderByDescending< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, IComparer< TKey > comparer) |
Sorts the elements of a sequence in descending order by using a specified comparer. More... | |
static OrderedParallelQuery< TSource > | ThenBy< TSource, TKey > (this OrderedParallelQuery< TSource > source, Func< TSource, TKey > keySelector) |
Performs in parallel a subsequent ordering of the elements in a sequence in ascending order according to a key. More... | |
static OrderedParallelQuery< TSource > | ThenBy< TSource, TKey > (this OrderedParallelQuery< TSource > source, Func< TSource, TKey > keySelector, IComparer< TKey > comparer) |
Performs in parallel a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. More... | |
static OrderedParallelQuery< TSource > | ThenByDescending< TSource, TKey > (this OrderedParallelQuery< TSource > source, Func< TSource, TKey > keySelector) |
Performs in parallel a subsequent ordering of the elements in a sequence in descending order, according to a key. More... | |
static OrderedParallelQuery< TSource > | ThenByDescending< TSource, TKey > (this OrderedParallelQuery< TSource > source, Func< TSource, TKey > keySelector, IComparer< TKey > comparer) |
Performs in parallel a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. More... | |
static ParallelQuery< IGrouping< TKey, TSource > > | GroupBy< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector) |
Groups in parallel the elements of a sequence according to a specified key selector function. More... | |
static ParallelQuery< IGrouping< TKey, TSource > > | GroupBy< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, IEqualityComparer< TKey > comparer) |
Groups in parallel the elements of a sequence according to a specified key selector function and compares the keys by using a specified T:System.Collections.Generic.IComparer`1. More... | |
static ParallelQuery< IGrouping< TKey, TElement > > | GroupBy< TSource, TKey, TElement > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TSource, TElement > elementSelector) |
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. More... | |
static ParallelQuery< IGrouping< TKey, TElement > > | GroupBy< TSource, TKey, TElement > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TSource, TElement > elementSelector, IEqualityComparer< TKey > comparer) |
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. More... | |
static ParallelQuery< TResult > | GroupBy< TSource, TKey, TResult > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TKey, IEnumerable< TSource >, TResult > resultSelector) |
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. More... | |
static ParallelQuery< TResult > | GroupBy< TSource, TKey, TResult > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TKey, IEnumerable< TSource >, TResult > resultSelector, IEqualityComparer< TKey > comparer) |
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. More... | |
static ParallelQuery< TResult > | GroupBy< TSource, TKey, TElement, TResult > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TSource, TElement > elementSelector, Func< TKey, IEnumerable< TElement >, TResult > resultSelector) |
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. More... | |
static ParallelQuery< TResult > | GroupBy< TSource, TKey, TElement, TResult > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TSource, TElement > elementSelector, Func< TKey, IEnumerable< TElement >, TResult > resultSelector, IEqualityComparer< TKey > comparer) |
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. More... | |
static TSource | Aggregate< TSource > (this ParallelQuery< TSource > source, Func< TSource, TSource, TSource > func) |
Applies in parallel an accumulator function over a sequence. More... | |
static TAccumulate | Aggregate< TSource, TAccumulate > (this ParallelQuery< TSource > source, TAccumulate seed, Func< TAccumulate, TSource, TAccumulate > func) |
Applies in parallel an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. More... | |
static TResult | Aggregate< TSource, TAccumulate, TResult > (this ParallelQuery< TSource > source, TAccumulate seed, Func< TAccumulate, TSource, TAccumulate > func, Func< TAccumulate, TResult > resultSelector) |
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. More... | |
static TResult | Aggregate< TSource, TAccumulate, TResult > (this ParallelQuery< TSource > source, TAccumulate seed, Func< TAccumulate, TSource, TAccumulate > updateAccumulatorFunc, Func< TAccumulate, TAccumulate, TAccumulate > combineAccumulatorsFunc, Func< TAccumulate, TResult > resultSelector) |
Applies in parallel an accumulator function over a sequence. This overload is not available in the sequential implementation. More... | |
static TResult | Aggregate< TSource, TAccumulate, TResult > (this ParallelQuery< TSource > source, Func< TAccumulate > seedFactory, Func< TAccumulate, TSource, TAccumulate > updateAccumulatorFunc, Func< TAccumulate, TAccumulate, TAccumulate > combineAccumulatorsFunc, Func< TAccumulate, TResult > resultSelector) |
Applies in parallel an accumulator function over a sequence. This overload is not available in the sequential implementation. More... | |
static int | Count< TSource > (this ParallelQuery< TSource > source) |
Returns the number of elements in a parallel sequence. More... | |
static int | Count< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Returns a number that represents how many elements in the specified parallel sequence satisfy a condition. More... | |
static long | LongCount< TSource > (this ParallelQuery< TSource > source) |
Returns an Int64 that represents the total number of elements in a parallel sequence. More... | |
static long | LongCount< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Returns an Int64 that represents how many elements in a parallel sequence satisfy a condition. More... | |
static int | Sum (this ParallelQuery< int > source) |
Computes in parallel the sum of a sequence of values. More... | |
static ? int | Sum (this ParallelQuery< int?> source) |
Computes in parallel the sum of a sequence of values. More... | |
static long | Sum (this ParallelQuery< long > source) |
Computes in parallel the sum of a sequence of values. More... | |
static ? long | Sum (this ParallelQuery< long?> source) |
Computes in parallel the sum of a sequence of values. More... | |
static float | Sum (this ParallelQuery< float > source) |
Computes in parallel the sum of a sequence of values. More... | |
static ? float | Sum (this ParallelQuery< float?> source) |
Computes in parallel the sum of a sequence of values. More... | |
static double | Sum (this ParallelQuery< double > source) |
Computes in parallel the sum of a sequence of values. More... | |
static ? double | Sum (this ParallelQuery< double?> source) |
Computes in parallel the sum of a sequence of values. More... | |
static decimal | Sum (this ParallelQuery< decimal > source) |
Computes in parallel the sum of a sequence of values. More... | |
static ? decimal | Sum (this ParallelQuery< decimal?> source) |
Computes in parallel the sum of a sequence of values. More... | |
static int | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, int > selector) |
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. More... | |
static ? int | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, int?> selector) |
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. More... | |
static long | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, long > selector) |
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. More... | |
static ? long | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, long?> selector) |
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. More... | |
static float | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, float > selector) |
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. More... | |
static ? float | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, float?> selector) |
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. More... | |
static double | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, double > selector) |
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. More... | |
static ? double | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, double?> selector) |
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. More... | |
static decimal | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, decimal > selector) |
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. More... | |
static ? decimal | Sum< TSource > (this ParallelQuery< TSource > source, Func< TSource, decimal?> selector) |
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. More... | |
static int | Min (this ParallelQuery< int > source) |
Returns the minimum value in a parallel sequence of values. More... | |
static ? int | Min (this ParallelQuery< int?> source) |
Returns the minimum value in a parallel sequence of values. More... | |
static long | Min (this ParallelQuery< long > source) |
Returns the minimum value in a parallel sequence of values. More... | |
static ? long | Min (this ParallelQuery< long?> source) |
Returns the minimum value in a parallel sequence of values. More... | |
static float | Min (this ParallelQuery< float > source) |
Returns the minimum value in a parallel sequence of values. More... | |
static ? float | Min (this ParallelQuery< float?> source) |
Returns the minimum value in a parallel sequence of values. More... | |
static double | Min (this ParallelQuery< double > source) |
Returns the minimum value in a parallel sequence of values. More... | |
static ? double | Min (this ParallelQuery< double?> source) |
Returns the minimum value in a parallel sequence of values. More... | |
static decimal | Min (this ParallelQuery< decimal > source) |
Returns the minimum value in a parallel sequence of values. More... | |
static ? decimal | Min (this ParallelQuery< decimal?> source) |
Returns the minimum value in a parallel sequence of values. More... | |
static TSource | Min< TSource > (this ParallelQuery< TSource > source) |
Returns the minimum value in a parallel sequence of values. More... | |
static int | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, int > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static ? int | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, int?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static long | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, long > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static ? long | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, long?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static float | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, float > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static ? float | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, float?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static double | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, double > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static ? double | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, double?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static decimal | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, decimal > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static ? decimal | Min< TSource > (this ParallelQuery< TSource > source, Func< TSource, decimal?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static TResult | Min< TSource, TResult > (this ParallelQuery< TSource > source, Func< TSource, TResult > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value. More... | |
static int | Max (this ParallelQuery< int > source) |
Returns the maximum value in a parallel sequence of values. More... | |
static ? int | Max (this ParallelQuery< int?> source) |
Returns the maximum value in a parallel sequence of values. More... | |
static long | Max (this ParallelQuery< long > source) |
Returns the maximum value in a parallel sequence of values. More... | |
static ? long | Max (this ParallelQuery< long?> source) |
Returns the maximum value in a parallel sequence of values. More... | |
static float | Max (this ParallelQuery< float > source) |
Returns the maximum value in a parallel sequence of values. More... | |
static ? float | Max (this ParallelQuery< float?> source) |
Returns the maximum value in a parallel sequence of values. More... | |
static double | Max (this ParallelQuery< double > source) |
Returns the maximum value in a parallel sequence of values. More... | |
static ? double | Max (this ParallelQuery< double?> source) |
Returns the maximum value in a parallel sequence of values. More... | |
static decimal | Max (this ParallelQuery< decimal > source) |
Returns the maximum value in a parallel sequence of values. More... | |
static ? decimal | Max (this ParallelQuery< decimal?> source) |
Returns the maximum value in a parallel sequence of values. More... | |
static TSource | Max< TSource > (this ParallelQuery< TSource > source) |
Returns the maximum value in a parallel sequence of values. More... | |
static int | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, int > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static ? int | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, int?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static long | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, long > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static ? long | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, long?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static float | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, float > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static ? float | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, float?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static double | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, double > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static ? double | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, double?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static decimal | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, decimal > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static ? decimal | Max< TSource > (this ParallelQuery< TSource > source, Func< TSource, decimal?> selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static TResult | Max< TSource, TResult > (this ParallelQuery< TSource > source, Func< TSource, TResult > selector) |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value. More... | |
static double | Average (this ParallelQuery< int > source) |
Computes in parallel the average of a sequence of values. More... | |
static ? double | Average (this ParallelQuery< int?> source) |
Computes in parallel the average of a sequence of values. More... | |
static double | Average (this ParallelQuery< long > source) |
Computes in parallel the average of a sequence of values. More... | |
static ? double | Average (this ParallelQuery< long?> source) |
Computes in parallel the average of a sequence of values. More... | |
static float | Average (this ParallelQuery< float > source) |
Computes in parallel the average of a sequence of values. More... | |
static ? float | Average (this ParallelQuery< float?> source) |
Computes in parallel the average of a sequence of values. More... | |
static double | Average (this ParallelQuery< double > source) |
Computes in parallel the average of a sequence of values. More... | |
static ? double | Average (this ParallelQuery< double?> source) |
Computes in parallel the average of a sequence of values. More... | |
static decimal | Average (this ParallelQuery< decimal > source) |
Computes in parallel the average of a sequence of values. More... | |
static ? decimal | Average (this ParallelQuery< decimal?> source) |
Computes in parallel the average of a sequence of values. More... | |
static double | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, int > selector) |
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. More... | |
static ? double | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, int?> selector) |
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. More... | |
static double | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, long > selector) |
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. More... | |
static ? double | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, long?> selector) |
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. More... | |
static float | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, float > selector) |
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. More... | |
static ? float | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, float?> selector) |
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. More... | |
static double | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, double > selector) |
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. More... | |
static ? double | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, double?> selector) |
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. More... | |
static decimal | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, decimal > selector) |
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. More... | |
static ? decimal | Average< TSource > (this ParallelQuery< TSource > source, Func< TSource, decimal?> selector) |
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. More... | |
static bool | Any< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Determines in parallel whether any element of a sequence satisfies a condition. More... | |
static bool | Any< TSource > (this ParallelQuery< TSource > source) |
Determines whether a parallel sequence contains any elements. More... | |
static bool | All< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Determines in parallel whether all elements of a sequence satisfy a condition. More... | |
static bool | Contains< TSource > (this ParallelQuery< TSource > source, TSource value) |
Determines in parallel whether a sequence contains a specified element by using the default equality comparer. More... | |
static bool | Contains< TSource > (this ParallelQuery< TSource > source, TSource value, IEqualityComparer< TSource > comparer) |
Determines in parallel whether a sequence contains a specified element by using a specified T:System.Collections.Generic.IEqualityComparer`1. More... | |
static ParallelQuery< TSource > | Take< TSource > (this ParallelQuery< TSource > source, int count) |
Returns a specified number of contiguous elements from the start of a parallel sequence. More... | |
static ParallelQuery< TSource > | TakeWhile< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Returns elements from a parallel sequence as long as a specified condition is true. More... | |
static ParallelQuery< TSource > | TakeWhile< TSource > (this ParallelQuery< TSource > source, Func< TSource, int, bool > predicate) |
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. More... | |
static ParallelQuery< TSource > | Skip< TSource > (this ParallelQuery< TSource > source, int count) |
Bypasses a specified number of elements in a parallel sequence and then returns the remaining elements. More... | |
static ParallelQuery< TSource > | SkipWhile< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Bypasses elements in a parallel sequence as long as a specified condition is true and then returns the remaining elements. More... | |
static ParallelQuery< TSource > | SkipWhile< TSource > (this ParallelQuery< TSource > source, Func< TSource, int, bool > predicate) |
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. More... | |
static ParallelQuery< TSource > | Concat< TSource > (this ParallelQuery< TSource > first, ParallelQuery< TSource > second) |
Concatenates two parallel sequences. More... | |
static ParallelQuery< TSource > | Concat< TSource > (this ParallelQuery< TSource > first, IEnumerable< TSource > second) |
This Concat overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static bool | SequenceEqual< TSource > (this ParallelQuery< TSource > first, ParallelQuery< TSource > second) |
Determines whether two parallel sequences are equal by comparing the elements by using the default equality comparer for their type. More... | |
static bool | SequenceEqual< TSource > (this ParallelQuery< TSource > first, IEnumerable< TSource > second) |
This SequenceEqual overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static bool | SequenceEqual< TSource > (this ParallelQuery< TSource > first, ParallelQuery< TSource > second, IEqualityComparer< TSource > comparer) |
Determines whether two parallel sequences are equal by comparing their elements by using a specified IEqualityComparer{T}. More... | |
static bool | SequenceEqual< TSource > (this ParallelQuery< TSource > first, IEnumerable< TSource > second, IEqualityComparer< TSource > comparer) |
This SequenceEqual overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static ParallelQuery< TSource > | Distinct< TSource > (this ParallelQuery< TSource > source) |
Returns distinct elements from a parallel sequence by using the default equality comparer to compare values. More... | |
static ParallelQuery< TSource > | Distinct< TSource > (this ParallelQuery< TSource > source, IEqualityComparer< TSource > comparer) |
Returns distinct elements from a parallel sequence by using a specified T:System.Collections.Generic.IEqualityComparer`1 to compare values. More... | |
static ParallelQuery< TSource > | Union< TSource > (this ParallelQuery< TSource > first, ParallelQuery< TSource > second) |
Produces the set union of two parallel sequences by using the default equality comparer. More... | |
static ParallelQuery< TSource > | Union< TSource > (this ParallelQuery< TSource > first, IEnumerable< TSource > second) |
This Union overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static ParallelQuery< TSource > | Union< TSource > (this ParallelQuery< TSource > first, ParallelQuery< TSource > second, IEqualityComparer< TSource > comparer) |
Produces the set union of two parallel sequences by using a specified IEqualityComparer{T}. More... | |
static ParallelQuery< TSource > | Union< TSource > (this ParallelQuery< TSource > first, IEnumerable< TSource > second, IEqualityComparer< TSource > comparer) |
This Union overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static ParallelQuery< TSource > | Intersect< TSource > (this ParallelQuery< TSource > first, ParallelQuery< TSource > second) |
Produces the set intersection of two parallel sequences by using the default equality comparer to compare values. More... | |
static ParallelQuery< TSource > | Intersect< TSource > (this ParallelQuery< TSource > first, IEnumerable< TSource > second) |
This Intersect overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static ParallelQuery< TSource > | Intersect< TSource > (this ParallelQuery< TSource > first, ParallelQuery< TSource > second, IEqualityComparer< TSource > comparer) |
Produces the set intersection of two parallel sequences by using the specified IEqualityComparer{T} to compare values. More... | |
static ParallelQuery< TSource > | Intersect< TSource > (this ParallelQuery< TSource > first, IEnumerable< TSource > second, IEqualityComparer< TSource > comparer) |
This Intersect overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static ParallelQuery< TSource > | Except< TSource > (this ParallelQuery< TSource > first, ParallelQuery< TSource > second) |
Produces the set difference of two parallel sequences by using the default equality comparer to compare values. More... | |
static ParallelQuery< TSource > | Except< TSource > (this ParallelQuery< TSource > first, IEnumerable< TSource > second) |
This Except overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static ParallelQuery< TSource > | Except< TSource > (this ParallelQuery< TSource > first, ParallelQuery< TSource > second, IEqualityComparer< TSource > comparer) |
Produces the set difference of two parallel sequences by using the specified T:System.Collections.Generic.IEqualityComparer`1 to compare values. More... | |
static ParallelQuery< TSource > | Except< TSource > (this ParallelQuery< TSource > first, IEnumerable< TSource > second, IEqualityComparer< TSource > comparer) |
This Except overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called. More... | |
static IEnumerable< TSource > | AsEnumerable< TSource > (this ParallelQuery< TSource > source) |
Converts a T:System.Linq.ParallelQuery`1 into an T:System.Collections.Generic.IEnumerable`1 to force sequential evaluation of the query. More... | |
static TSource [] | ToArray< TSource > (this ParallelQuery< TSource > source) |
Creates an array from a T:System.Linq.ParallelQuery`1. More... | |
static List< TSource > | ToList< TSource > (this ParallelQuery< TSource > source) |
Creates a T:System.Collections.Generic.List`1 from an T:System.Linq.ParallelQuery`1. More... | |
static Dictionary< TKey, TSource > | ToDictionary< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector) |
Creates a T:System.Collections.Generic.Dictionary`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function. More... | |
static Dictionary< TKey, TSource > | ToDictionary< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, IEqualityComparer< TKey > comparer) |
Creates a T:System.Collections.Generic.Dictionary`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function and key comparer. More... | |
static Dictionary< TKey, TElement > | ToDictionary< TSource, TKey, TElement > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TSource, TElement > elementSelector) |
Creates a T:System.Collections.Generic.Dictionary`2 from a T:System.Linq.ParallelQuery`1 according to specified key selector and element selector functions. More... | |
static Dictionary< TKey, TElement > | ToDictionary< TSource, TKey, TElement > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TSource, TElement > elementSelector, IEqualityComparer< TKey > comparer) |
Creates a T:System.Collections.Generic.Dictionary`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function, a comparer, and an element selector function. More... | |
static ILookup< TKey, TSource > | ToLookup< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector) |
Creates an T:System.Linq.ILookup`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function. More... | |
static ILookup< TKey, TSource > | ToLookup< TSource, TKey > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, IEqualityComparer< TKey > comparer) |
Creates an T:System.Linq.ILookup`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function and key comparer. More... | |
static ILookup< TKey, TElement > | ToLookup< TSource, TKey, TElement > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TSource, TElement > elementSelector) |
Creates an T:System.Linq.ILookup`2 from a T:System.Linq.ParallelQuery`1 according to specified key selector and element selector functions. More... | |
static ILookup< TKey, TElement > | ToLookup< TSource, TKey, TElement > (this ParallelQuery< TSource > source, Func< TSource, TKey > keySelector, Func< TSource, TElement > elementSelector, IEqualityComparer< TKey > comparer) |
Creates an T:System.Linq.ILookup`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function, a comparer and an element selector function. More... | |
static ParallelQuery< TSource > | Reverse< TSource > (this ParallelQuery< TSource > source) |
Inverts the order of the elements in a parallel sequence. More... | |
static ParallelQuery< TResult > | OfType< TResult > (this ParallelQuery source) |
Filters the elements of a ParallelQuery based on a specified type. More... | |
static ParallelQuery< TResult > | Cast< TResult > (this ParallelQuery source) |
Converts the elements of a ParallelQuery to the specified type. More... | |
static TSource | First< TSource > (this ParallelQuery< TSource > source) |
Returns the first element of a parallel sequence. More... | |
static TSource | First< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Returns the first element in a parallel sequence that satisfies a specified condition. More... | |
static TSource | FirstOrDefault< TSource > (this ParallelQuery< TSource > source) |
Returns the first element of a parallel sequence, or a default value if the sequence contains no elements. More... | |
static TSource | FirstOrDefault< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Returns the first element of the parallel sequence that satisfies a condition or a default value if no such element is found. More... | |
static TSource | Last< TSource > (this ParallelQuery< TSource > source) |
Returns the last element of a parallel sequence. More... | |
static TSource | Last< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Returns the last element of a parallel sequence that satisfies a specified condition. More... | |
static TSource | LastOrDefault< TSource > (this ParallelQuery< TSource > source) |
Returns the last element of a parallel sequence, or a default value if the sequence contains no elements. More... | |
static TSource | LastOrDefault< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Returns the last element of a parallel sequence that satisfies a condition, or a default value if no such element is found. More... | |
static TSource | Single< TSource > (this ParallelQuery< TSource > source) |
Returns the only element of a parallel sequence, and throws an exception if there is not exactly one element in the sequence. More... | |
static TSource | Single< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
Returns the only element of a parallel sequence that satisfies a specified condition, and throws an exception if more than one such element exists. More... | |
static TSource | SingleOrDefault< TSource > (this ParallelQuery< TSource > source) |
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. More... | |
static TSource | SingleOrDefault< TSource > (this ParallelQuery< TSource > source, Func< TSource, bool > predicate) |
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. More... | |
static ParallelQuery< TSource > | DefaultIfEmpty< TSource > (this ParallelQuery< TSource > source) |
Returns the elements of the specified parallel sequence or the type parameter's default value in a singleton collection if the sequence is empty. More... | |
static ParallelQuery< TSource > | DefaultIfEmpty< TSource > (this ParallelQuery< TSource > source, TSource defaultValue) |
Returns the elements of the specified parallel sequence or the specified value in a singleton collection if the sequence is empty. More... | |
static TSource | ElementAt< TSource > (this ParallelQuery< TSource > source, int index) |
Returns the element at a specified index in a parallel sequence. More... | |
static TSource | ElementAtOrDefault< TSource > (this ParallelQuery< TSource > source, int index) |
Returns the element at a specified index in a parallel sequence or a default value if the index is out of range. More... | |
Provides a set of methods for querying objects that implement ParallelQuery{TSource}. This is the parallel equivalent of T:System.Linq.Enumerable.
Definition at line 12 of file ParallelEnumerable.cs.
|
static |
Applies in parallel an accumulator function over a sequence.
source | A sequence to aggregate over. |
func | An accumulator function to be invoked on each element. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or func is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 1247 of file ParallelEnumerable.cs.
|
static |
Applies in parallel an accumulator function over a sequence. The specified seed value is used as the initial accumulator value.
source | A sequence to aggregate over. |
seed | The initial accumulator value. |
func | An accumulator function to be invoked on each element. |
TSource | The type of the elements of source . |
TAccumulate | The type of the accumulator value. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or func is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 1287 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence to aggregate over. |
seed | The initial accumulator value. |
func | An accumulator function to be invoked on each element. |
resultSelector | A function to transform the final accumulator value into the result value. |
TSource | The type of the elements of source . |
TAccumulate | The type of the accumulator value. |
TResult | The type of the resulting value. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or func or resultSelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 1325 of file ParallelEnumerable.cs.
|
static |
Applies in parallel an accumulator function over a sequence. This overload is not available in the sequential implementation.
source | A sequence to aggregate over. |
seed | The initial accumulator value. |
updateAccumulatorFunc | An accumulator function to be invoked on each element in a partition. |
combineAccumulatorsFunc | An accumulator function to be invoked on the yielded accumulator result from each partition. |
resultSelector | A function to transform the final accumulator value into the result value. |
TSource | The type of the elements of source . |
TAccumulate | The type of the accumulator value. |
TResult | The type of the resulting value. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or updateAccumulatorFunc or combineAccumulatorsFunc or resultSelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 1371 of file ParallelEnumerable.cs.
|
static |
Applies in parallel an accumulator function over a sequence. This overload is not available in the sequential implementation.
source | A sequence to aggregate over. |
seedFactory | A function that returns the initial accumulator value. |
updateAccumulatorFunc | An accumulator function to be invoked on each element in a partition. |
combineAccumulatorsFunc | An accumulator function to be invoked on the yielded accumulator result from each partition. |
resultSelector | A function to transform the final accumulator value into the result value. |
TSource | The type of the elements of source . |
TAccumulate | The type of the accumulator value. |
TResult | The type of the resulting value. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or seedFactory or updateAccumulatorFunc or combineAccumulatorsFunc or resultSelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 1409 of file ParallelEnumerable.cs.
|
static |
Determines in parallel whether all elements of a sequence satisfy a condition.
source | A sequence whose elements to apply the predicate to. |
predicate | A function to test each element for a condition. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3072 of file ParallelEnumerable.cs.
|
static |
Determines in parallel whether any element of a sequence satisfies a condition.
source | A sequence to whose elements the predicate will be applied. |
predicate | A function to test each element for a condition. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3031 of file ParallelEnumerable.cs.
|
static |
Determines whether a parallel sequence contains any elements.
source | The sequence to check for emptiness. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3053 of file ParallelEnumerable.cs.
|
static |
Converts a T:System.Linq.ParallelQuery`1 into an T:System.Collections.Generic.IEnumerable`1 to force sequential evaluation of the query.
source | The sequence to cast as T:System.Collections.Generic.IEnumerable`1. |
TSource | The type of the elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
Definition at line 3666 of file ParallelEnumerable.cs.
|
static |
Enables treatment of a data source as if it were ordered, overriding the default of unordered. AsOrdered may only be invoked on non-generic sequences returned by AsParallel, ParallelEnumerable.Range, and ParallelEnumerable.Repeat.
source | The input sequence. |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.InvalidOperationException | thrown if source contains no elements-or- if AsOrdered is called midway through a query. It is allowed to be called immediately after M:System.Linq.ParallelEnumerable.AsParallel(System.Collections.IEnumerable), M:System.Linq.ParallelEnumerable.Range(System.Int32,System.Int32) or M:System.Linq.ParallelEnumerable.Repeat``1(``0,System.Int32). |
Definition at line 84 of file ParallelEnumerable.cs.
|
static |
Enables treatment of a data source as if it were ordered, overriding the default of unordered. AsOrdered may only be invoked on generic sequences returned by AsParallel, ParallelEnumerable.Range, and ParallelEnumerable.Repeat.
source | The input sequence. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.InvalidOperationException | Thrown if source contains no elements-or-if source is not one of AsParallel, ParallelEnumerable.Range, or ParallelEnumerable.Repeat. |
Definition at line 56 of file ParallelEnumerable.cs.
|
static |
Enables parallelization of a query.
source | An T:System.Collections.Generic.IEnumerable`1 to convert to a T:System.Linq.ParallelQuery. |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
Definition at line 120 of file ParallelEnumerable.cs.
|
static |
Enables parallelization of a query.
source | An T:System.Collections.Generic.IEnumerable`1 to convert to a T:System.Linq.ParallelQuery`1. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
Definition at line 23 of file ParallelEnumerable.cs.
|
static |
Enables parallelization of a query, as sourced by a custom partitioner that is responsible for splitting the input sequence into partitions.
source | A partitioner over the input sequence. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
Definition at line 39 of file ParallelEnumerable.cs.
|
static |
Converts a T:System.Linq.ParallelQuery`1 into an T:System.Collections.Generic.IEnumerable`1 to force sequential evaluation of the query.
source | A T:System.Linq.ParallelQuery`1 to convert to an T:System.Collections.Generic.IEnumerable`1. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
Definition at line 136 of file ParallelEnumerable.cs.
|
static |
Allows an intermediate query to be treated as if no ordering is implied among the elements.
source | The input sequence. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
Definition at line 105 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | A sequence of values that are used to calculate an average. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum or count of the elements in the sequence is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2662 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | A sequence of values that are used to calculate an average. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum or count of the elements in the sequence is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2681 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | A sequence of values that are used to calculate an average. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum or count of the elements in the sequence is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2700 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | A sequence of values that are used to calculate an average. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum or count of the elements in the sequence is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2719 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | A sequence of values that are used to calculate an average. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2738 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | A sequence of values that are used to calculate an average. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2757 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | A sequence of values that are used to calculate an average. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2776 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | The source sequence. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | A sequence of values that are used to calculate an average.The average of the sequence of values.source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2794 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | A sequence of values that are used to calculate an average. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2813 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the average of a sequence of values.
source | A sequence of values that are used to calculate an average. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2832 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum or count of the elements in the sequence is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 2854 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum or count of the elements in the sequence is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 2872 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum or count of the elements in the sequence is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 2890 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum or count of the elements in the sequence is larger than F:System.Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 2908 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 2926 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 2944 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 2962 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 2980 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 2998 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values that are used to calculate an average. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
T:System.OverflowException | (Thrown as inner exception in an T:System.AggregateException). The selector function returns a value greater than MaxValue for the element type. |
Definition at line 3016 of file ParallelEnumerable.cs.
|
static |
Converts the elements of a ParallelQuery to the specified type.
source | The sequence that contains the elements to be converted. |
TResult | The type to convert the elements of source to. |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.InvalidCastException | The type of the source sequence could not be converted to TResult . |
Definition at line 4031 of file ParallelEnumerable.cs.
|
static |
Concatenates two parallel sequences.
first | The first sequence to concatenate. |
second | The sequence to concatenate to the first sequence. |
TSource | The type of the elements of the input sequences. |
T:System.ArgumentNullException | first or second is a null reference (Nothing in Visual Basic). |
Definition at line 3269 of file ParallelEnumerable.cs.
|
static |
This Concat overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
first | This parameter is not used. |
second | This parameter is not used. |
TSource | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
Definition at line 3290 of file ParallelEnumerable.cs.
|
static |
Determines in parallel whether a sequence contains a specified element by using the default equality comparer.
source | A sequence in which to locate a value. |
value | The value to locate in the sequence. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3095 of file ParallelEnumerable.cs.
|
static |
Determines in parallel whether a sequence contains a specified element by using a specified T:System.Collections.Generic.IEqualityComparer`1.
source | A sequence in which to locate a value. |
value | The value to locate in the sequence. |
comparer | An equality comparer to compare values. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3111 of file ParallelEnumerable.cs.
|
static |
Returns the number of elements in a parallel sequence.
source | A sequence that contains elements to be counted. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The number of elements in source is larger than F:System.Int32.MaxValue. (In this case the InnerException is T:System.OverflowException) -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1443 of file ParallelEnumerable.cs.
|
static |
Returns a number that represents how many elements in the specified parallel sequence satisfy a condition.
source | A sequence that contains elements to be counted. |
predicate | A function to test each element for a condition. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The number of elements in source is larger than F:System.Int32.MaxValue. (In this case the InnerException is T:System.OverflowException) -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1471 of file ParallelEnumerable.cs.
|
static |
Returns the elements of the specified parallel sequence or the type parameter's default value in a singleton collection if the sequence is empty.
source | The sequence to return a default value for if it is empty. |
TSource | The type of the elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4386 of file ParallelEnumerable.cs.
|
static |
Returns the elements of the specified parallel sequence or the specified value in a singleton collection if the sequence is empty.
source | The sequence to return the specified value for if it is empty. |
defaultValue | The value to return if the sequence is empty. |
TSource | The type of the elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4401 of file ParallelEnumerable.cs.
|
static |
Returns distinct elements from a parallel sequence by using the default equality comparer to compare values.
source | The sequence to remove duplicate elements from. |
TSource | The type of the elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3433 of file ParallelEnumerable.cs.
|
static |
Returns distinct elements from a parallel sequence by using a specified T:System.Collections.Generic.IEqualityComparer`1 to compare values.
source | The sequence to remove duplicate elements from. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to compare values. |
TSource | The type of the elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3447 of file ParallelEnumerable.cs.
|
static |
Returns the element at a specified index in a parallel sequence.
source | A sequence to return an element from. |
index | The zero-based index of the element to retrieve. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.ArgumentOutOfRangeException | index is less than 0 or greater than or equal to the number of elements in source . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4422 of file ParallelEnumerable.cs.
|
static |
Returns the element at a specified index in a parallel sequence or a default value if the index is out of range.
source | A sequence to return an element from. |
index | The zero-based index of the element to retrieve. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4450 of file ParallelEnumerable.cs.
|
static |
Returns an empty ParallelQuery{TResult} that has the specified type argument.
TResult | The type to assign to the type parameter of the returned generic sequence. |
Definition at line 318 of file ParallelEnumerable.cs.
|
static |
Produces the set difference of two parallel sequences by using the default equality comparer to compare values.
first | A sequence whose elements that are not also in second will be returned. |
second | A sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. |
TSource | The type of the elements of the input sequences. |
T:System.ArgumentNullException | first or second is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3602 of file ParallelEnumerable.cs.
|
static |
This Except overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
first | This parameter is not used. |
second | This parameter is not used. |
TSource | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
Definition at line 3615 of file ParallelEnumerable.cs.
|
static |
Produces the set difference of two parallel sequences by using the specified T:System.Collections.Generic.IEqualityComparer`1 to compare values.
first | A sequence whose elements that are not also in second will be returned. |
second | A sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. |
comparer | T:System.Collections.Generic.IEqualityComparer`1 to compare values. |
TSource | The type of the elements of the input sequences. |
T:System.ArgumentNullException | first or second is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3632 of file ParallelEnumerable.cs.
|
static |
This Except overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
first | This parameter is not used. |
second | This parameter is not used. |
comparer | This parameter is not used. |
TSource | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
Definition at line 3654 of file ParallelEnumerable.cs.
|
static |
Returns the first element of a parallel sequence.
source | The sequence to return the first element of. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 4068 of file ParallelEnumerable.cs.
|
static |
Returns the first element in a parallel sequence that satisfies a specified condition.
source | The sequence to return an element from. |
predicate | A function to test each element for a condition. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | No element in source satisfies the condition in predicate . |
Definition at line 4096 of file ParallelEnumerable.cs.
|
static |
Returns the first element of a parallel sequence, or a default value if the sequence contains no elements.
source | The sequence to return the first element of. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4126 of file ParallelEnumerable.cs.
|
static |
Returns the first element of the parallel sequence that satisfies a condition or a default value if no such element is found.
source | The sequence to return an element from. |
predicate | A function to test each element for a condition. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4153 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel the specified action for each element in the source .
source | The T:System.Linq.ParallelQuery`1 whose elements will be processed by action . |
action | An Action to invoke on each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 332 of file ParallelEnumerable.cs.
|
static |
Groups in parallel the elements of a sequence according to a specified key selector function.
source | An OrderedParallelQuery{TSource}that contains elements to sort. |
keySelector | A function to extract a key from an element. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 1015 of file ParallelEnumerable.cs.
|
static |
Groups in parallel the elements of a sequence according to a specified key selector function and compares the keys by using a specified T:System.Collections.Generic.IComparer`1.
source | An T:System.Linq.OrderedParallelQuery`1 that contains elements to sort. |
keySelector | A function to extract a key from an element. |
comparer | An T:System.Collections.Generic.IComparer`1 to compare keys. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector >. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 1032 of file ParallelEnumerable.cs.
|
static |
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.
source | An T:System.Linq.OrderedParallelQuery`1 that contains elements to sort. |
keySelector | A function to extract a key from an element. |
elementSelector | A function to map each source element to an element in an T:System.Linq.IGrouping`2. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
TElement | The type of the elements in the T:System.Linq.IGrouping`2. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 1058 of file ParallelEnumerable.cs.
|
static |
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.
source | An OrderedParallelQuery{TSource}that contains elements to sort. |
keySelector | A function to extract a key from an element. |
elementSelector | A function to map each source element to an element in an IGrouping. |
comparer | An IComparer{TSource} to compare keys. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
TElement | The type of the elements in the IGrouping |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 1077 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence whose elements to group. |
keySelector | A function to extract the key for each element. |
elementSelector | A function to map each source element to an element in an IGrouping<TKey, TElement>. |
resultSelector | A function to create a result value from each group. |
TSource | The type of the elements of source . |
TKey | The type of the key returned by keySelector . |
TElement | The type of the elements in each IGrouping{TKey, TElement}. |
TResult | The type of the result value returned by resultSelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 1156 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence whose elements to group. |
keySelector | A function to extract the key for each element. |
elementSelector | A function to map each source element to an element in an IGrouping{Key, TElement}. |
resultSelector | A function to create a result value from each group. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to compare keys. |
TSource | The type of the elements of source . |
TKey | The type of the key returned by keySelector . |
TElement | The type of the elements in each IGrouping{TKey, TElement}. |
TResult | The type of the result value returned by resultSelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 1182 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence whose elements to group. |
keySelector | A function to extract the key for each element. |
resultSelector | A function to create a result value from each group. |
TSource | The type of the elements of source . |
TKey | The type of the key returned by keySelector . |
TResult | The type of the result value returned by resultSelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 1107 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence whose elements to group. |
keySelector | A function to extract the key for each element. |
resultSelector | A function to create a result value from each group. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to compare keys. |
TSource | The type of the elements of source . |
TKey | The type of the key returned by keySelector . |
TResult | The type of the result value returned by resultSelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 1131 of file ParallelEnumerable.cs.
|
static |
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.
outer | The first sequence to join. |
inner | The sequence to join to the first sequence. |
outerKeySelector | A function to extract the join key from each element of the first sequence. |
innerKeySelector | A function to extract the join key from each element of the second sequence. |
resultSelector | A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. |
TOuter | The type of the elements of the second sequence. |
TInner | The type of the elements of the first sequence. |
TKey | The type of the keys returned by the key selector functions. |
TResult | The type of the result elements. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 608 of file ParallelEnumerable.cs.
|
static |
This GroupJoin overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
outer | This parameter is not used. |
inner | This parameter is not used. |
outerKeySelector | This parameter is not used. |
innerKeySelector | This parameter is not used. |
resultSelector | This parameter is not used. |
TOuter | This type parameter is not used. |
TInner | This type parameter is not used. |
TKey | This type parameter is not used. |
TResult | This type parameter is not used. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 630 of file ParallelEnumerable.cs.
|
static |
Correlates in parallel the elements of two sequences based on key equality and groups the results. A specified T:System.Collections.Generic.IEqualityComparer`1 is used to compare keys.
outer | The first sequence to join. |
inner | The sequence to join to the first sequence. |
outerKeySelector | A function to extract the join key from each element of the first sequence. |
innerKeySelector | A function to extract the join key from each element of the second sequence. |
resultSelector | A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to hash and compare keys. |
TOuter | The type of the elements of the second sequence. |
TInner | The type of the elements of the first sequence. |
TKey | The type of the keys returned by the key selector functions. |
TResult | The type of the result elements. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 652 of file ParallelEnumerable.cs.
|
static |
This GroupJoin overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
outer | This parameter is not used. |
inner | This parameter is not used. |
outerKeySelector | This parameter is not used. |
innerKeySelector | This parameter is not used. |
resultSelector | This parameter is not used. |
comparer | This parameter is not used. |
TOuter | This type parameter is not used. |
TInner | This type parameter is not used. |
TKey | This type parameter is not used. |
TResult | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
Definition at line 692 of file ParallelEnumerable.cs.
|
static |
Produces the set intersection of two parallel sequences by using the default equality comparer to compare values.
first | A sequence whose distinct elements that also appear in second will be returned. |
second | A sequence whose distinct elements that also appear in the first sequence will be returned. |
TSource | The type of the elements of the input sequences. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3536 of file ParallelEnumerable.cs.
|
static |
This Intersect overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
first | This parameter is not used. |
second | This parameter is not used. |
TSource | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
Definition at line 3549 of file ParallelEnumerable.cs.
|
static |
Produces the set intersection of two parallel sequences by using the specified IEqualityComparer{T} to compare values.
first | A sequence whose distinct elements that also appear in second will be returned. |
second | A sequence whose distinct elements that also appear in the first sequence will be returned. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to compare values. |
TSource | The type of the elements of the input sequences. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3565 of file ParallelEnumerable.cs.
|
static |
This Intersect overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
first | This parameter is not used. |
second | This parameter is not used. |
comparer | This parameter is not used. |
TSource | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
Definition at line 3587 of file ParallelEnumerable.cs.
|
static |
Correlates in parallel the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
outer | The first sequence to join. |
inner | The sequence to join to the first sequence. |
outerKeySelector | A function to extract the join key from each element of the first sequence. |
innerKeySelector | A function to extract the join key from each element of the second sequence. |
resultSelector | A function to create a result element from two matching elements. |
TOuter | The type of the elements of the second sequence. |
TInner | The type of the elements of the first sequence. |
TKey | The type of the keys returned by the key selector functions. |
TResult | The type of the result elements. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 503 of file ParallelEnumerable.cs.
|
static |
This Join overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when invoked.
outer | This parameter is not used. |
inner | This parameter is not used. |
outerKeySelector | This parameter is not used. |
innerKeySelector | This parameter is not used. |
resultSelector | This parameter is not used. |
TOuter | This type parameter is not used. |
TInner | This type parameter is not used. |
TKey | This type parameter is not used. |
TResult | This type parameter is not used. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 525 of file ParallelEnumerable.cs.
|
static |
Correlates in parallel the elements of two sequences based on matching keys. A specified T:System.Collections.Generic.IEqualityComparer`1 is used to compare keys.
outer | The first sequence to join. |
inner | The sequence to join to the first sequence. |
outerKeySelector | A function to extract the join key from each element of the first sequence. |
innerKeySelector | A function to extract the join key from each element of the second sequence. |
resultSelector | A function to create a result element from two matching elements. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to hash and compare keys. |
TOuter | The type of the elements of the second sequence. |
TInner | The type of the elements of the first sequence. |
TKey | The type of the keys returned by the key selector functions. |
TResult | The type of the result elements. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or action is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 547 of file ParallelEnumerable.cs.
|
static |
This Join overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when invoked.
outer | This parameter is not used. |
inner | This parameter is not used. |
outerKeySelector | This parameter is not used. |
innerKeySelector | This parameter is not used. |
resultSelector | This parameter is not used. |
comparer | This parameter is not used. |
TOuter | This type parameter is not used. |
TInner | This type parameter is not used. |
TKey | This type parameter is not used. |
TResult | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
Definition at line 587 of file ParallelEnumerable.cs.
|
static |
Returns the last element of a parallel sequence.
source | The sequence to return the last element from. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 4185 of file ParallelEnumerable.cs.
|
static |
Returns the last element of a parallel sequence that satisfies a specified condition.
source | The sequence to return an element from. |
predicate | A function to test each element for a condition. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | No element in source satisfies the condition in predicate . |
Definition at line 4213 of file ParallelEnumerable.cs.
|
static |
Returns the last element of a parallel sequence, or a default value if the sequence contains no elements.
source | The sequence to return an element from. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4243 of file ParallelEnumerable.cs.
|
static |
Returns the last element of a parallel sequence that satisfies a condition, or a default value if no such element is found.
source | The sequence to return an element from. |
predicate | A function to test each element for a condition. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4270 of file ParallelEnumerable.cs.
|
static |
Returns an Int64 that represents the total number of elements in a parallel sequence.
source | A sequence that contains elements to be counted. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The number of elements in source is larger than F:System.Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.OverflowException | The computed result is greater than F:System.Int64.MaxValue. |
Definition at line 1494 of file ParallelEnumerable.cs.
|
static |
Returns an Int64 that represents how many elements in a parallel sequence satisfy a condition.
source | A sequence that contains elements to be counted. |
predicate | A function to test each element for a condition. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The number of elements in source is larger than F:System.Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
T:System.OverflowException | The computed result is greater than F:System.Int64.MaxValue. |
Definition at line 1523 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2264 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2283 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2302 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2321 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2340 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2359 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2378 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2397 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2416 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2435 of file ParallelEnumerable.cs.
|
static |
Returns the maximum value in a parallel sequence of values.
source | A sequence of values to determine the maximum value of. |
TSource | The type of elements in the source sequence. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2455 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2476 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2493 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2510 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2527 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2544 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2561 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2578 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2595 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2612 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2629 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the maximum value.
source | A sequence of values to determine the maximum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
TResult | The type of the value returned by selector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2647 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 1866 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 1885 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 1904 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 1923 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 1942 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 1961 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 1980 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 1999 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2018 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2037 of file ParallelEnumerable.cs.
|
static |
Returns the minimum value in a parallel sequence of values.
source | A sequence of values to determine the minimum value of. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2057 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2078 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2095 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2112 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2129 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2146 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2163 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2180 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2197 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2214 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements. |
Definition at line 2231 of file ParallelEnumerable.cs.
|
static |
Invokes in parallel a transform function on each element of a sequence and returns the minimum value.
source | A sequence of values to determine the minimum value of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
TResult | The type of the value returned by selector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source contains no elements and TSource is a non-nullable value type. |
Definition at line 2249 of file ParallelEnumerable.cs.
|
static |
Filters the elements of a ParallelQuery based on a specified type.
source | The sequence whose elements to filter. |
TResult | The type to filter the elements of the sequence on. |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4014 of file ParallelEnumerable.cs.
|
static |
Sorts in parallel the elements of a sequence in ascending order according to a key.
source | A sequence of values to order. |
keySelector | A function to extract a key from an element. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 819 of file ParallelEnumerable.cs.
|
static |
Sorts in parallel the elements of a sequence in ascending order by using a specified comparer.
source | A sequence of values to order. |
keySelector | A function to extract a key from an element. |
comparer | An IComparer{TKey} to compare keys. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 844 of file ParallelEnumerable.cs.
|
static |
Sorts in parallel the elements of a sequence in descending order according to a key.
source | A sequence of values to order. |
keySelector | A function to extract a key from an element. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 868 of file ParallelEnumerable.cs.
|
static |
Sorts the elements of a sequence in descending order by using a specified comparer.
source | A sequence of values to order. |
keySelector | A function to extract a key from an element. |
comparer | An IComparer{TKey} to compare keys. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.ArgumentNullException | source or KeySelector is a null reference (Nothing in Visual Basic).. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 893 of file ParallelEnumerable.cs.
|
static |
Generates a parallel sequence of integral numbers within a specified range.
start | The value of the first integer in the sequence. |
count | The number of sequential integers to generate. |
T:System.ArgumentOutOfRangeException | count is less than 0 -or- start + count - 1 is larger than F:System.Int32.MaxValue. |
Definition at line 288 of file ParallelEnumerable.cs.
|
static |
Generates a parallel sequence that contains one repeated value.
element | The value to be repeated. |
count | The number of times to repeat the value in the generated sequence. |
TResult | The type of the value to be repeated in the result sequence. |
T:System.ArgumentOutOfRangeException | count is less than 0. |
Definition at line 305 of file ParallelEnumerable.cs.
|
static |
Inverts the order of the elements in a parallel sequence.
source | A sequence of values to reverse. |
TSource | The type of the elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3996 of file ParallelEnumerable.cs.
|
static |
Projects in parallel each element of a sequence into a new form.
source | A sequence of values to invoke a transform function on. |
selector | A transform function to apply to each element. |
TSource | The type of the elements of source . |
TResult | The type of elements resturned by selector. |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 403 of file ParallelEnumerable.cs.
|
static |
Projects in parallel each element of a sequence into a new form by incorporating the element's index.
source | A sequence of values to invoke a transform function on. |
selector | A transform function to apply to each element. |
TSource | The type of the elements of source . |
TResult | The type of elements resturned by selector. |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.OverflowException | More than F:System.Int32.MaxValue elements are enumerated by the query. This condition might occur in streaming scenarios. |
Definition at line 428 of file ParallelEnumerable.cs.
|
static |
Projects each element of a sequence to an T:System.Collections.Generic.IEnumerable`1, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.
source | A sequence of values to project. |
collectionSelector | A transform function to apply to each source element; the second parameter of the function represents the index of the source element. |
resultSelector | A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. |
TSource | The type of the intermediate elements collected by collectionSelector . |
TCollection | The type of elements of source . |
TResult | The type of elements in the result sequence. |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.OverflowException | More than F:System.Int32.MaxValue elements are enumerated by the query. |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 760 of file ParallelEnumerable.cs.
|
static |
Projects each element of a sequence to an T:System.Collections.Generic.IEnumerable`1, 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.
source | A sequence of values to project. |
collectionSelector | A transform function to apply to each source element; the second parameter of the function represents the index of the source element. |
resultSelector | A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. |
TSource | The type of the intermediate elements collected by collectionSelector . |
TCollection | The type of elements of source . |
TResult | The type of elements to return. |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.OverflowException | More than F:System.Int32.MaxValue elements are enumerated by the query. |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 791 of file ParallelEnumerable.cs.
|
static |
Projects in parallel each element of a sequence to an T:System.Collections.Generic.IEnumerable`1 and flattens the resulting sequences into one sequence.
source | A sequence of values to project. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
TResult | The type of the elements of the sequence returned by selector. |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 708 of file ParallelEnumerable.cs.
|
static |
Projects in parallel each element of a sequence to an T:System.Collections.Generic.IEnumerable`1, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element.
source | A sequence of values to project. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
TResult | The type of the elements of the sequence returned by selector. |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.OverflowException | More than F:System.Int32.MaxValue elements are enumerated by the query. |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 733 of file ParallelEnumerable.cs.
|
static |
Determines whether two parallel sequences are equal by comparing the elements by using the default equality comparer for their type.
first | A sequence to compare to second. |
second | A sequence to compare to the first input sequence. |
TSource | The type of the elements of the input sequences. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | first or second is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3305 of file ParallelEnumerable.cs.
|
static |
This SequenceEqual overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
first | This parameter is not used. |
second | This parameter is not used. |
TSource | This type parameter is not used. |
T:System.NotSupportedException | Thrown every time this method is called. |
Definition at line 3326 of file ParallelEnumerable.cs.
|
static |
Determines whether two parallel sequences are equal by comparing their elements by using a specified IEqualityComparer{T}.
first | A sequence to compare to second . |
second | A sequence to compare to the first input sequence. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to use to compare elements. |
TSource | The type of the elements of the input sequences. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | first or second is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3342 of file ParallelEnumerable.cs.
|
static |
This SequenceEqual overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
first | This parameter is not used. |
second | This parameter is not used. |
comparer | This parameter is not used. |
TSource | This type parameter is not used. |
T:System.NotSupportedException | Thrown every time this method is called. |
Definition at line 3419 of file ParallelEnumerable.cs.
|
static |
Returns the only element of a parallel sequence, and throws an exception if there is not exactly one element in the sequence.
source | The sequence to return the single element of. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | The input sequence contains more than one element. -or- The input sequence is empty. |
Definition at line 4301 of file ParallelEnumerable.cs.
|
static |
Returns the only element of a parallel sequence that satisfies a specified condition, and throws an exception if more than one such element exists.
source | The sequence to return the single element of. |
predicate | A function to test an element for a condition. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | No element satisfies the condition in predicate . -or- More than one element satisfies the condition in predicate . |
Definition at line 4321 of file ParallelEnumerable.cs.
|
static |
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.
source | The sequence to return the single element of. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 4343 of file ParallelEnumerable.cs.
|
static |
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.
source | The sequence to return the single element of. |
predicate | A function to test an element for a condition. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
T:System.InvalidOperationException | source is empty or multiple elements are returned. |
Definition at line 4364 of file ParallelEnumerable.cs.
|
static |
Bypasses a specified number of elements in a parallel sequence and then returns the remaining elements.
source | The sequence to return elements from. |
count | The number of elements to skip before returning the remaining elements. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.OverflowException | Count is greater than F:System.Int32.MaxValue |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3201 of file ParallelEnumerable.cs.
|
static |
Bypasses elements in a parallel sequence as long as a specified condition is true and then returns the remaining elements.
source | The sequence to return elements from. |
predicate | A function to test each element for a condition. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3224 of file ParallelEnumerable.cs.
|
static |
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.
source | The sequence to return elements from. |
predicate | A function to test each source element for a condition; the second parameter of the function represents the index of the source element. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.OverflowException | More than F:System.Int32.MaxValue elements are enumerated by the query. |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3248 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1544 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1561 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1578 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1595 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Single.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1612 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Single.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1629 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Double.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1646 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Double.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1663 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Decimal.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1680 of file ParallelEnumerable.cs.
|
static |
Computes in parallel the sum of a sequence of values.
source | A sequence of values to calculate the sum of. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Decimal.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1697 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements in the source sequence. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1716 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Int32.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1731 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1746 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Int64.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1761 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Single.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1776 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Single.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1791 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Double.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1806 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Double.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1821 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Decimal.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1836 of file ParallelEnumerable.cs.
|
static |
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.
source | A sequence of values to calculate the sum of. |
selector | A transform function to apply to each element. |
TSource | The type of elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or selector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | The sum is larger than F:System.Decimal.MaxValue. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 1851 of file ParallelEnumerable.cs.
|
static |
Returns a specified number of contiguous elements from the start of a parallel sequence.
source | The sequence to return elements from. |
count | The number of elements to return. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3130 of file ParallelEnumerable.cs.
|
static |
Returns elements from a parallel sequence as long as a specified condition is true.
source | The sequence to return elements from. |
predicate | A function to test each element for a condition. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3153 of file ParallelEnumerable.cs.
|
static |
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.
source | The sequence to return elements from. |
predicate | A function to test each source element for a condition; the second parameter of the function represents the index of the source element. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.OverflowException | More than F:System.Int32.MaxValue elements are enumerated by this query. |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3177 of file ParallelEnumerable.cs.
|
static |
Performs in parallel a subsequent ordering of the elements in a sequence in ascending order according to a key.
source | An OrderedParallelQuery{TSource} that contains elements to sort. |
keySelector | A function to extract a key from an element. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 917 of file ParallelEnumerable.cs.
|
static |
Performs in parallel a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer.
source | An OrderedParallelQuery{TSource} that contains elements to sort. |
keySelector | A function to extract a key from an element. |
comparer | An IComparer{TKey} to compare keys. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 942 of file ParallelEnumerable.cs.
|
static |
Performs in parallel a subsequent ordering of the elements in a sequence in descending order, according to a key.
source | An OrderedParallelQuery{TSource} that contains elements to sort. |
keySelector | A function to extract a key from an element. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 966 of file ParallelEnumerable.cs.
|
static |
Performs in parallel a subsequent ordering of the elements in a sequence in descending order by using a specified comparer.
source | An OrderedParallelQuery{TSource} that contains elements to sort. |
keySelector | A function to extract a key from an element. |
comparer | An IComparer{TKey} to compare keys. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 991 of file ParallelEnumerable.cs.
|
static |
Creates an array from a T:System.Linq.ParallelQuery`1.
source | A sequence to create an array from. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3680 of file ParallelEnumerable.cs.
|
static |
Creates a T:System.Collections.Generic.Dictionary`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function.
source | A sequence to create a T:System.Collections.Generic.Dictionary`2 from. |
keySelector | A function to extract a key from each element. |
TSource | The type of the elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | keySelector produces a key that is a null reference (Nothing in Visual Basic). -or- keySelector produces duplicate keys for two elements. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 3746 of file ParallelEnumerable.cs.
|
static |
Creates a T:System.Collections.Generic.Dictionary`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function and key comparer.
source | A sequence to create a T:System.Collections.Generic.Dictionary`2 from. |
keySelector | A function to extract a key from each element. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to compare keys. |
TSource | The type of the elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | keySelector produces a key that is a null reference (Nothing in Visual Basic). -or- keySelector produces duplicate keys for two elements. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 3764 of file ParallelEnumerable.cs.
|
static |
Creates a T:System.Collections.Generic.Dictionary`2 from a T:System.Linq.ParallelQuery`1 according to specified key selector and element selector functions.
source | A sequence to create a T:System.Collections.Generic.Dictionary`2 from. |
keySelector | A function to extract a key from each element. |
elementSelector | A transform function to produce a result element value from each element. |
TSource | The type of the elements of source . |
TKey | The type of the key returned by keySelector . |
TElement | The type of the value returned by elementSelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or keySelector or elementSelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | keySelector produces a key that is a null reference (Nothing in Visual Basic). -or- keySelector produces duplicate keys for two elements. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 3814 of file ParallelEnumerable.cs.
|
static |
Creates a T:System.Collections.Generic.Dictionary`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function, a comparer, and an element selector function.
source | A sequence to create a T:System.Collections.Generic.Dictionary`2 from. |
keySelector | A function to extract a key from each element. |
elementSelector | A transform function to produce a result element value from each element. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to compare keys. |
TSource | The type of the elements of source . |
TKey | The type of the key returned by keySelector . |
TElement | The type of the value returned by elementSelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or keySelector or elementSelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | keySelector produces a key that is a null reference (Nothing in Visual Basic). -or- keySelector produces duplicate keys for two elements. -or- One or more exceptions occurred during the evaluation of the query. |
Definition at line 3834 of file ParallelEnumerable.cs.
|
static |
Creates a T:System.Collections.Generic.List`1 from an T:System.Linq.ParallelQuery`1.
source | A sequence to create a T:System.Collections.Generic.List`1 from. |
TSource | The type of the elements of source . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3703 of file ParallelEnumerable.cs.
|
static |
Creates an T:System.Linq.ILookup`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function.
source | The sequence to create a T:System.Linq.ILookup`2 from. |
keySelector | A function to extract a key from each element. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or keySelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3884 of file ParallelEnumerable.cs.
|
static |
Creates an T:System.Linq.ILookup`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function and key comparer.
source | The sequence to create a T:System.Linq.ILookup`2 from. |
keySelector | A function to extract a key from each element. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to compare keys. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or keySelector or is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3901 of file ParallelEnumerable.cs.
|
static |
Creates an T:System.Linq.ILookup`2 from a T:System.Linq.ParallelQuery`1 according to specified key selector and element selector functions.
source | The sequence to create a T:System.Linq.ILookup`2 from. |
keySelector | A function to extract a key from each element. |
elementSelector | A transform function to produce a result element value from each element. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
TElement | The type of the value returned by elementSelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or keySelector or elementSelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3939 of file ParallelEnumerable.cs.
|
static |
Creates an T:System.Linq.ILookup`2 from a T:System.Linq.ParallelQuery`1 according to a specified key selector function, a comparer and an element selector function.
source | The sequence to create a T:System.Linq.ILookup`2 from. |
keySelector | A function to extract a key from each element. |
elementSelector | A transform function to produce a result element value from each element. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to compare keys. |
TSource | The type of elements of source . |
TKey | The type of the key returned by keySelector . |
TElement | The type of the value returned by elementSelector . |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.ArgumentNullException | source or keySelector or elementSelector is a null reference (Nothing in Visual Basic). |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3958 of file ParallelEnumerable.cs.
|
static |
Produces the set union of two parallel sequences by using the default equality comparer.
first | A sequence whose distinct elements form the first set for the union. |
second | A sequence whose distinct elements form the second set for the union. |
TSource | The type of the elements of the input sequences. |
T:System.ArgumentNullException | first or second is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3466 of file ParallelEnumerable.cs.
|
static |
This Union overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
first | This parameter is not used. |
second | This parameter is not used. |
TSource | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3481 of file ParallelEnumerable.cs.
|
static |
Produces the set union of two parallel sequences by using a specified IEqualityComparer{T}.
first | A sequence whose distinct elements form the first set for the union. |
second | A sequence whose distinct elements form the second set for the union. |
comparer | An T:System.Collections.Generic.IEqualityComparer`1 to compare values. |
TSource | The type of the elements of the input sequences. |
T:System.ArgumentNullException | first or second is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3497 of file ParallelEnumerable.cs.
|
static |
This Union overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when called.
first | This parameter is not used. |
second | This parameter is not used. |
comparer | This parameter is not used. |
TSource | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 3521 of file ParallelEnumerable.cs.
|
static |
Filters in parallel a sequence of values based on a predicate.
source | A sequence to filter. |
predicate | A function to test each element for a condition. |
TSource | The type of the elements of source. |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 355 of file ParallelEnumerable.cs.
|
static |
Filters in parallel a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function.
source | A sequence to filter. |
predicate | A function to test each element for a condition. |
TSource | The type of the elements of source. |
T:System.ArgumentNullException | source or predicate is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.OverflowException | More than F:System.Int32.MaxValue elements are enumerated by the query. |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 379 of file ParallelEnumerable.cs.
|
static |
Sets the T:System.Threading.CancellationToken to associate with the query.
source | A ParallelQuery on which to set the option. |
cancellationToken | A cancellation token. |
TSource | The type of elements of source . |
T:System.ObjectDisposedException | The T:System.Threading.CancellationTokenSource associated with the cancellationToken has been disposed. |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.InvalidOperationException | WithCancellation is used multiple times in the query. |
Definition at line 202 of file ParallelEnumerable.cs.
|
static |
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.
source | A ParallelQuery on which to set the limit on the degrees of parallelism. |
degreeOfParallelism | The degree of parallelism for the query. The default value is Math.Min(P:System.Environment.ProcessorCount, MAX_SUPPORTED_DOP ) where MAX_SUPPORTED_DOP is 512. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.ArgumentOutOfRangeException | degreeOfParallelism is less than 1 or greater than 511. |
T:System.InvalidOperationException | WithDegreeOfParallelism is used multiple times in the query. |
Definition at line 176 of file ParallelEnumerable.cs.
|
static |
Sets the execution mode of the query.
source | A ParallelQuery on which to set the option. |
executionMode | The mode in which to execute the query. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.ArgumentException | executionMode is not a valid T:System.Linq.ParallelExecutionMode value. |
T:System.InvalidOperationException | WithExecutionMode is used multiple times in the query. |
Definition at line 239 of file ParallelEnumerable.cs.
|
static |
Sets the merge options for this query, which specify how the query will buffer output.
source | A ParallelQuery on which to set the option. |
mergeOptions | The merge options to set for this query. |
TSource | The type of elements of source . |
T:System.ArgumentNullException | source is a null reference (Nothing in Visual Basic). |
T:System.ArgumentException | mergeOptions is not a valid T:System.Linq.ParallelMergeOptions value. |
T:System.InvalidOperationException | WithMergeOptions is used multiple times in the query. |
Definition at line 266 of file ParallelEnumerable.cs.
|
static |
Merges in parallel two sequences by using the specified predicate function.
first | The first sequence to zip. |
second | The second sequence to zip. |
resultSelector | A function to create a result element from two matching elements. |
TFirst | The type of the elements of the first sequence. |
TSecond | The type of the elements of the second sequence. |
TResult | The type of the return elements. |
T:System.ArgumentNullException | first or second or resultSelector is a null reference (Nothing in Visual Basic). |
T:System.OperationCanceledException | The query was canceled with the token passed in through WithCancellation . |
T:System.AggregateException | One or more exceptions occurred during the evaluation of the query. |
Definition at line 454 of file ParallelEnumerable.cs.
|
static |
This Zip overload should never be called. This method is marked as obsolete and always throws T:System.NotSupportedException when invoked.
first | This parameter is not used. |
second | This parameter is not used. |
resultSelector | This parameter is not used. |
TFirst | This type parameter is not used. |
TSecond | This type parameter is not used. |
TResult | This type parameter is not used. |
T:System.NotSupportedException | The exception that occurs when this method is called. |
Definition at line 482 of file ParallelEnumerable.cs.