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

            stock.addPrice(stockPrice);
        }