private void CloseProgressor() { if (_progressor != null) { _progressor.close(); _progressor = null; } }
public override bool Next() { if (_current == null) { _current = _progressors.RemoveFirst(); } while (_current != null) { if (_current.next()) { return(true); } else { _current.close(); _current = _progressors.RemoveFirst(); } } return(false); }