Пример #1
0
 public void Dispose()
 {
     _current = -1;
     _parent?.Dispose();
     _parent = default;
     Pool <RangeExprEnumerator> .Return(this);
 }
Пример #2
0
 public RangeExprEnumerator Init(RangeExprEnumerable parent, int start, int workCount)
 {
     _current   = -1;
     _start     = start;
     _workCount = workCount;
     _parent    = parent;
     return(this);
 }