コード例 #1
0
 /// <summary>
 /// Updates prices using an aggregator
 /// </summary>
 /// <param name="quotes">A dictionary of prices from various feeds.</param>
 internal static void UpdatePrice(Dictionary <String, Quote[]> quotes)
 {
     // Update the prices of each of the feeds found in the aggregator.
     PriceService.UpdateCanadaTickerPrice(quotes["CA TICKER"]);
     PriceService.UpdateUnitedKingdomTickerPrice(quotes["UK TICKER"]);
     PriceService.UpdateUnitedStatesTickerPrice(quotes["US TICKER"]);
 }
コード例 #2
0
ファイル: WebService.cs プロジェクト: valmac/order-management
 public void UpdateUnitedStatesTickerPrice(Quote[] quotes)
 {
     // Update the price using the US ticker.
     PriceService.UpdateUnitedStatesTickerPrice(quotes);
 }