Example #1
0
 internal static MarketDataEntities GetMarketDataEntities(this StockExchangesHtmls stockExchangesHtmls)
 {
     return(new MarketDataEntities(
                stockExchangesHtmls.SelectMany(keyValuePair =>
                                               GetTable(keyValuePair.Value)
                                               .GetRows()
                                               .GetMarketDataEntities(keyValuePair.Key))));
 }
 internal static IEnumerable <IMarketDataEntity> GetMarketDataEntities(this StockExchangesHtmls stockExchangesHtmls) =>
 new HashSet <IMarketDataEntity>(
     stockExchangesHtmls.SelectMany(keyValuePair =>
                                    GetTable(keyValuePair.Value)
                                    .GetRows()
                                    .GetMarketDataEntities(keyValuePair.Key)));