public TrendLinePresentationModel(ITrendLineView view, IMarketHistoryService marketHistoryService, IEventAggregator eventAggregator) { this.View = view; this.View.Model = this; this._marketHistoryService = marketHistoryService; eventAggregator.GetEvent<TickerSymbolSelectedEvent>().Subscribe(this.TickerSymbolChanged); }
public TrendLinePresentationModel(ITrendLineView view, IMarketHistoryService marketHistoryService, IEventAggregator eventAggregator) { this.View = view; this.View.Model = this; this._marketHistoryService = marketHistoryService; eventAggregator.GetEvent <TickerSymbolSelectedEvent>().Subscribe(this.TickerSymbolChanged); }
public TrendLinePresenter(ITrendLineView view, IMarketHistoryService marketHistoryService) { this.View = view; this._marketHistoryService = marketHistoryService; }
public void ShowTrendLine(ITrendLineView view) { lineChartPanel.Children.Clear(); lineChartPanel.Children.Add((UIElement)view); }
public void ShowTrendLine(ITrendLineView view) { }