Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ForAllSpoolingTask.cs
Go to the documentation of this file.
2
3internal sealed class ForAllSpoolingTask<TInputOutput, TIgnoreKey> : SpoolingTaskBase
4{
6
8 : base(taskIndex, groupState)
9 {
11 }
12
13 protected override void SpoolingWork()
14 {
15 TInputOutput currentElement = default(TInputOutput);
16 TIgnoreKey currentKey = default(TIgnoreKey);
17 while (_source.MoveNext(ref currentElement, ref currentKey))
18 {
19 }
20 }
21
22 protected override void SpoolingFinally()
23 {
24 base.SpoolingFinally();
26 }
27}
readonly QueryOperatorEnumerator< TInputOutput, TIgnoreKey > _source
ForAllSpoolingTask(int taskIndex, QueryTaskGroupState groupState, QueryOperatorEnumerator< TInputOutput, TIgnoreKey > source)
bool MoveNext([MaybeNullWhen(false)][AllowNull] ref TElement currentElement, [AllowNull] ref TKey currentKey)