Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Open()

override QueryResults< TOutput > System.Linq.Parallel.ZipQueryOperator< TLeftInput, TRightInput, TOutput >.Open ( QuerySettings settings,
bool preferStriping )
inlinepackage

Definition at line 83 of file ZipQueryOperator.cs.

84 {
87 int value = settings.DegreeOfParallelism.Value;
89 {
91 queryResults.GivePartitionedStream(partitionedStreamMerger);
93 }
95 {
97 queryResults2.GivePartitionedStream(partitionedStreamMerger2);
99 }
100 return new ZipQueryOperatorResults(queryResults, queryResults2, _resultSelector, value, preferStriping);
101 }
QueryResults< TOutput > Open(QuerySettings settings, bool preferStriping)
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 >._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.QuerySettings.CancellationState, System.Linq.Parallel.QuerySettings.DegreeOfParallelism, System.Linq.Parallel.QueryOperator< TOutput >.Open(), System.Linq.Parallel.QueryOperator< TOutput >.OutputOrdered, System.Linq.Parallel.QuerySettings.QueryId, System.Linq.Parallel.QuerySettings.TaskScheduler, and System.value.