Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ ZipQueryOperator() [2/2]

System.Linq.Parallel.ZipQueryOperator< TLeftInput, TRightInput, TOutput >.ZipQueryOperator ( QueryOperator< TLeftInput > left,
QueryOperator< TRightInput > right,
Func< TLeftInput, TRightInput, TOutput > resultSelector )
inlineprivate

Definition at line 69 of file ZipQueryOperator.cs.

70 : base(left.SpecifiedQuerySettings.Merge(right.SpecifiedQuerySettings))
71 {
72 _leftChild = left;
73 _rightChild = right;
75 _outputOrdered = _leftChild.OutputOrdered || _rightChild.OutputOrdered;
78 _prematureMergeLeft = ordinalIndexState != OrdinalIndexState.Indexable;
79 _prematureMergeRight = ordinalIndexState2 != OrdinalIndexState.Indexable;
80 _limitsParallelism = (_prematureMergeLeft && ordinalIndexState != OrdinalIndexState.Shuffled) || (_prematureMergeRight && ordinalIndexState2 != OrdinalIndexState.Shuffled);
81 }
readonly QueryOperator< TRightInput > _rightChild
readonly QueryOperator< TLeftInput > _leftChild
readonly Func< TLeftInput, TRightInput, TOutput > _resultSelector

References System.Linq.Parallel.ZipQueryOperator< TLeftInput, TRightInput, TOutput >._leftChild, System.Linq.Parallel.ZipQueryOperator< TLeftInput, TRightInput, TOutput >._limitsParallelism, System.Linq.Parallel.QueryOperator< TOutput >._outputOrdered, System.Linq.Parallel.ZipQueryOperator< TLeftInput, TRightInput, TOutput >._prematureMergeLeft, System.Linq.Parallel.ZipQueryOperator< TLeftInput, TRightInput, TOutput >._prematureMergeRight, System.Linq.Parallel.ZipQueryOperator< TLeftInput, TRightInput, TOutput >._resultSelector, System.Linq.Parallel.ZipQueryOperator< TLeftInput, TRightInput, TOutput >._rightChild, System.Linq.Parallel.QueryOperator< TOutput >.OrdinalIndexState, System.Linq.Parallel.QueryOperator< TOutput >.OutputOrdered, and System.Linq.resultSelector.