public bool MoveNext() { if (sourceEnumerator.MoveNext()) { progress.NextStep(); return(true); } else { progress.EndTask(); return(false); } }