mscorlib(4.0.0.0) API with additions
OrderedParallelQuery.cs
2 using System.Linq.Parallel;
3 
4 namespace System.Linq
5 {
8  [global::__DynamicallyInvokable]
9  public class OrderedParallelQuery<TSource> : ParallelQuery<TSource>
10  {
11  private QueryOperator<TSource> m_sortOp;
12 
13  internal QueryOperator<TSource> SortOperator => m_sortOp;
14 
15  internal IOrderedEnumerable<TSource> OrderedEnumerable => (IOrderedEnumerable<TSource>)m_sortOp;
16 
17  internal OrderedParallelQuery(QueryOperator<TSource> sortOp)
18  : base(sortOp.SpecifiedQuerySettings)
19  {
20  m_sortOp = sortOp;
21  }
22 
25  [global::__DynamicallyInvokable]
27  {
28  return m_sortOp.GetEnumerator();
29  }
30  }
31 }
Definition: __Canon.cs:3
Supports a simple iteration over a generic collection.
Definition: IEnumerator.cs:6
override IEnumerator< TSource > GetEnumerator()
Returns an enumerator that iterates through the sequence.
Represents a parallel sequence.
Definition: ParallelQuery.cs:9
Represents a sorted, parallel sequence.