public void Dispose() { _parent?.Dispose(); _parent = default; _src?.Dispose(); _src = default; _context = default; Pool <SelectExprWithContextEnumerator> .Return(this); }
public SelectExprWithContextEnumerator Init( SelectExprWithContextEnumerable <T, TR, TContext> parent, IPoolingEnumerator <T> src, TContext context, Func <TContext, T, TR> condition) { _src = src; _parent = parent; _context = context; _condition = condition; return(this); }