Example #1
0
 internal QuerySetNode(SetInclusion setInclusion, IEqualityComparer <TSource> comparer,
                       QueryBaseNode <TSource> first, QueryBaseNode <TSource> second)
     : base(first, second)
 {
     this.setInclusion = setInclusion;
     this.comparer     = comparer;
 }
Example #2
0
 internal QuerySelectManyNode(QueryBaseNode <TSource> parent,
                              Func <TSource, IEnumerable <TCollection> > collectionSelector,
                              Func <TSource, TCollection, TResult> resultSelector)
     : base(parent, false)
 {
     this.collectionSelector = collectionSelector;
     this.resultSelector     = resultSelector;
 }
Example #3
0
 internal QuerySelectManyNode(QueryBaseNode <TSource> parent,
                              Func <TSource, int, IEnumerable <TCollection> > collectionSelectorIndexed,
                              Func <TSource, TCollection, TResult> resultSelector)
     : base(parent, true)
 {
     this.collectionSelectorIndexed = collectionSelectorIndexed;
     this.resultSelector            = resultSelector;
 }
Example #4
0
 public QueryGroupByNode(QueryBaseNode <TSource> parent,
                         Func <TSource, TKey> keySelector,
                         Func <TSource, TElement> elementSelector,
                         IEqualityComparer <TKey> comparer)
     : base(parent, false)
 {
     this.keySelector     = keySelector;
     this.elementSelector = elementSelector;
     this.comparer        = comparer;
 }
Example #5
0
 internal QueryJoinNode(QueryBaseNode <TFirst> first,
                        QueryBaseNode <TSecond> second,
                        Func <TFirst, TKey> firstKeySelector,
                        Func <TSecond, TKey> secondKeySelector,
                        Func <TFirst, TSecond, TResult> resultSelector,
                        IEqualityComparer <TKey> comparer) : base(first, second)
 {
     this.firstKeySelector  = firstKeySelector;
     this.secondKeySelector = secondKeySelector;
     this.resultSelector    = resultSelector;
     this.comparer          = comparer;
 }
Example #6
0
 public QueryCastNode(QueryBaseNode <T> source)
     : base(source, false)
 {
 }
Example #7
0
 internal QuerySelectNode(QueryBaseNode <TSource> parent, Func <TSource, int, TResult> selector)
     : base(parent, true)
 {
     this.indexedSelector = selector;
 }
Example #8
0
 internal QueryWhereNode(QueryBaseNode <TSource> parent, Func <TSource, bool> predicate)
     : base(parent, false)
 {
     this.predicate = predicate;
 }
Example #9
0
 internal QueryStreamNode(QueryBaseNode <TParent> parent, bool isIndexed)
     : base(parent)
 {
     this.isIndexed = isIndexed;
 }
 internal ParallelMergeOptionsNode(ParallelMergeOptions opts, QueryBaseNode <T> parent)
     : base(parent)
 {
     this.opts = opts;
 }
 public QueryOptionNode(QueryBaseNode <T> parent)
     : base(parent)
 {
 }
 internal DegreeOfParallelismNode(int degreeParallelism, QueryBaseNode <T> parent)
     : base(parent)
 {
     this.degreeParallelism = degreeParallelism;
 }
Example #13
0
 internal QueryAsOrderedNode(QueryBaseNode <T> parent)
     : base(parent, true)
 {
 }
Example #14
0
 internal QueryAsUnorderedNode(QueryBaseNode <T> parent)
     : base(parent, false)
 {
 }
 public QueryOrderByNode(QueryBaseNode <T> parent, Comparison <T> comparison)
     : base(parent, true)
 {
     this.comparison = comparison;
 }
Example #16
0
 internal QueryChildNode(QueryBaseNode <TParent> parent)
 //	: base (isOrdered, true)
 {
     this.parent = parent;
 }
Example #17
0
 internal QueryMuxNode(QueryBaseNode <TFirst> parent, QueryBaseNode <TSecond> second)
     : base(parent)
 {
     this.second = second;
 }
Example #18
0
 internal QueryWhereNode(QueryBaseNode <TSource> parent, Func <TSource, int, bool> predicate)
     : base(parent, true)
 {
     this.indexedPredicate = predicate;
 }
Example #19
0
 internal QueryDefaultEmptyNode(QueryBaseNode <TSource> parent, TSource defaultValue)
     : base(parent, false)
 {
     this.defaultValue = defaultValue;
 }
 internal CancellationTokenNode(CancellationToken token, QueryBaseNode <T> parent)
     : base(parent)
 {
     this.token = token;
 }
 internal QueryOrderedStreamNode(QueryBaseNode <TParent> parent, bool isIndexed)
     : base(parent, isIndexed)
 {
 }
 internal ImplementerTokenNode(CancellationTokenSource token, QueryBaseNode <T> parent)
     : base(parent)
 {
     this.source = token;
 }
Example #23
0
 internal QueryHeadWorkerNode(QueryBaseNode <TSource> parent, int count)
     : base(parent, false)
 {
     this.count = count;
 }
 internal ParallelExecutionModeNode(ParallelExecutionMode mode, QueryBaseNode <T> parent)
     : base(parent)
 {
     this.mode = mode;
 }
Example #25
0
 internal QueryHeadWorkerNode(QueryBaseNode <TSource> parent, Func <TSource, int, bool> predicate, bool indexed)
     : base(parent, indexed)
 {
     this.predicate = predicate;
 }
Example #26
0
 public QueryZipNode(Func <TFirst, TSecond, TResult> resultSelector, QueryBaseNode <TFirst> first, QueryBaseNode <TSecond> second)
     : base(first, second)
 {
     this.resultSelector = resultSelector;
 }
Example #27
0
 internal QuerySelectNode(QueryBaseNode <TSource> parent, Func <TSource, TResult> selector)
     : base(parent, false)
 {
     this.selector = selector;
 }
 internal QueryOrderGuardNode(QueryBaseNode <T> parent, bool ensureOrder)
     : base(parent, ensureOrder)
 {
     this.ensureOrder = ensureOrder;
 }
Example #29
0
 public QueryConcatNode(QueryBaseNode <TSource> first, QueryBaseNode <TSource> second)
     : base(first, second)
 {
 }