Пример #1
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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #5
0
 public void ShowTrendLine(ITrendLineView view)
 {
     lineChartPanel.Children.Clear();
     lineChartPanel.Children.Add((UIElement)view);
 }
Пример #6
0
        public void ShowTrendLine(ITrendLineView view)
        {

        }
Пример #7
0
 public TrendLinePresenter(ITrendLineView view, IMarketHistoryService marketHistoryService)
 {
     this.View = view;
     this._marketHistoryService = marketHistoryService;
 }
Пример #8
0
 public void ShowTrendLine(ITrendLineView view)
 {
 }