17 using System.Collections;
18 using System.Collections.Generic;
31 private readonly IEnumerator<BaseData> _enumerator;
38 _enumerator = enumerator;
59 object IEnumerator.Current =>
Current;
70 if (!_enumerator.MoveNext())
return false;
72 var bar = _enumerator.Current as
QuoteBar;
75 if (_previous !=
null)
84 bar.Ask = _previous.
Ask;
101 _enumerator.Dispose();