19 using System.Collections;
21 using System.Collections.Generic;
30 private readonly DateTime _localStartTime;
32 private readonly IEnumerator<BaseData> _underlying;
39 object IEnumerator.Current =>
Current;
46 _underlying = underlying;
47 _localStartTime = localStartTime;
48 _securityExchange = securityExchangeHours;
60 result = _underlying.MoveNext();
67 var pontentialNewBar = _underlying.Current.
Clone();
92 _underlying.Dispose();