示例#1
0
        public void TickerSymbolChanged(string newTickerSymbol)
        {
            MarketHistoryCollection newHistoryCollection = this.marketHistoryService.GetPriceHistory(newTickerSymbol);

            this.TickerSymbol      = newTickerSymbol;
            this.HistoryCollection = newHistoryCollection;
        }
示例#2
0
        public void OnTickerSymbolSelected(string tickerSymbol)
        {
            MarketHistoryCollection historyCollection = _marketHistoryService.GetPriceHistory(tickerSymbol);

            View.UpdateLineChart(historyCollection);
            View.SetChartTitle(tickerSymbol);
        }
示例#3
0
 public void UpdateLineChart(MarketHistoryCollection historyCollection)
 {
     lineChart.ItemsSource = historyCollection;
 }
 public void UpdateLineChart(MarketHistoryCollection historyCollection)
 {
     HistoryCollectionPassed = historyCollection;
 }
        public void UpdateLineChart(MarketHistoryCollection historyCollection)
        {
            lineChart.ItemsSource = historyCollection;

        }
示例#6
0
 public async Task GetMarketHistory_NoErrors()
 {
     MarketHistoryCollection data = await crest.GetMarketHistoryAsync(RegionId, TypeId);
 }
示例#7
0
        public MarketHistoryCollection GetPriceHistory(string tickerSymbol)
        {
            MarketHistoryCollection items = this.marketHistory[tickerSymbol];

            return(items);
        }
示例#8
0
 public void GetMarketHistory_NoErrors()
 {
     MarketHistoryCollection data = crest.GetMarketHistory(RegionId, TypeId);
 }
示例#9
0
 public void UpdateLineChart(MarketHistoryCollection historyCollection)
 {
     HistoryCollectionPassed = historyCollection;
 }