public Task <bool> MoveNextAsync() { return(this.currentStep.HasNext( (next) => { this.currentStep = next; return true; }, (ex) => { return true; }, () => { //this.currentStep = null; return false; })); }
public YieldEnumerator(IYieldResult <T> firstStep) { this.currentStep = firstStep; }
internal YieldEnumerable(YieldDelegateAsync <T> yield) { this.firstStep = new YieldResultFirst(yield); }