19 using System.Collections.Generic;
31 private readonly DateTime _date;
32 private readonly
bool _isLiveMode;
43 : base(dataProvider, isLiveMode, null)
47 _isLiveMode = isLiveMode;
48 _dataProvider = dataProvider;
49 _factory = config.GetBaseDataInstance();
59 var fileName = source.
Source;
70 List<string> entryNames;
73 entryNames = _dataProvider.GetZipEntries(fileName);
77 OnInvalidSource(source, err);
81 foreach (var entryFileName
in entryNames)
83 var instance = _factory.Reader(_config, entryFileName, _date, _isLiveMode);
84 if (instance !=
null && instance.EndTime !=
default(DateTime))
86 yield
return instance;
98 OnInvalidSource(source, exception);