public EvaluateUtil(SortedList stockPriceList) { this.stockPriceList = stockPriceList; this.cnt = stockPriceList.Count; this.lastStockPrice = (StockPrice)stockPriceList.GetByIndex(cnt - 1); }
internal static void addStockPrice(object code, StockPrice stockPrice) { Stock stock = stockDic[code]; stock.addPrice(stockPrice); }