public TrendLinePresentationModel(ITrendLineView view, IMarketHistoryService marketHistoryService, IEventAggregator eventAggregator)
 {
     this.View = view;
     this.View.Model = this;
     this._marketHistoryService = marketHistoryService;
     eventAggregator.GetEvent<TickerSymbolSelectedEvent>().Subscribe(this.TickerSymbolChanged);
 }
Beispiel #2
0
 public TrendLinePresentationModel(ITrendLineView view, IMarketHistoryService marketHistoryService, IEventAggregator eventAggregator)
 {
     this.View                  = view;
     this.View.Model            = this;
     this._marketHistoryService = marketHistoryService;
     eventAggregator.GetEvent <TickerSymbolSelectedEvent>().Subscribe(this.TickerSymbolChanged);
 }
Beispiel #3
0
        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)
 {
     lineChartPanel.Children.Clear();
     lineChartPanel.Children.Add((UIElement)view);
 }
        public void ShowTrendLine(ITrendLineView view)
        {

        }
Beispiel #7
0
 public TrendLinePresenter(ITrendLineView view, IMarketHistoryService marketHistoryService)
 {
     this.View = view;
     this._marketHistoryService = marketHistoryService;
 }
Beispiel #8
0
 public void ShowTrendLine(ITrendLineView view)
 {
 }