public override IEnumerable <RectInt> From(RectInt origin) { foreach (var chunk in _chute.From(origin)) { _backgroundFactory.Create(chunk.center); yield return(chunk); } }
public override IEnumerable <RectInt> From(RectInt origin) { return(_chute.From(origin).Select(Draw)); }