예제 #1
0
 private void CreateSubViewModels()
 {
     CashTransactionsPageViewModel    = new CashTransactionsPageViewModel(_contextFactory, Datasourcer, DialogService, Data.CashTransactions, this);
     OpenPositionsPageViewModel       = new OpenPositionsPageViewModel(_contextFactory, DialogService);
     InstrumentsPageViewModel         = new InstrumentsPageViewModel(_contextFactory, DialogService, Datasourcer, Data, this);
     StrategiesPageViewModel          = new StrategiesPageViewModel(_contextFactory, DialogService, Data, this);
     TagsPageViewModel                = new TagsPageViewModel(_contextFactory, DialogService, Data, this);
     TradesPageViewModel              = new TradesPageViewModel(_contextFactory, DialogService, Datasourcer, Settings, Data, this);
     BenchmarksPageViewModel          = new BenchmarksPageViewModel(_contextFactory, DialogService, Datasourcer, Data, this);
     PerformanceOverviewPageViewModel = new PerformanceOverviewPageViewModel(_contextFactory, DialogService, Settings, Data);
     OrdersPageViewModel              = new OrdersPageViewModel(_contextFactory, DialogService, Datasourcer, Settings, Data, ScriptRunner, this);
     PerformanceReportPageViewModel   = new PerformanceReportPageViewModel(_contextFactory, DialogService, Datasourcer, Data, this);
     FXTransactionsPageViewModel      = new FXTransactionsPageViewModel(_contextFactory, Datasourcer, DialogService, Settings, Data, this);
 }
예제 #2
0
 private void CreateSubViewModels()
 {
     CashTransactionsPageViewModel    = new CashTransactionsPageViewModel(Context, Datasourcer, DialogService, this);
     OpenPositionsPageViewModel       = new OpenPositionsPageViewModel(Context, DialogService);
     InstrumentsPageViewModel         = new InstrumentsPageViewModel(Context, DialogService, Datasourcer, this);
     StrategiesPageViewModel          = new StrategiesPageViewModel(Context, DialogService, this);
     TagsPageViewModel                = new TagsPageViewModel(Context, DialogService, this);
     TradesPageViewModel              = new TradesPageViewModel(Context, DialogService, Datasourcer, this);
     BenchmarksPageViewModel          = new BenchmarksPageViewModel(Context, DialogService, Datasourcer, this);
     PerformanceOverviewPageViewModel = new PerformanceOverviewPageViewModel(Context, DialogService);
     OrdersPageViewModel              = new OrdersPageViewModel(Context, DialogService, Datasourcer, this);
     PerformanceReportPageViewModel   = new PerformanceReportPageViewModel(Context, DialogService, this, Datasourcer);
     FXTransactionsPageViewModel      = new FXTransactionsPageViewModel(Context, Datasourcer, DialogService, this);
 }
예제 #3
0
 private void CreateSubViewModels()
 {
     CashTransactionsPageViewModel = new CashTransactionsPageViewModel(Context, Datasourcer, DialogService, this);
     OpenPositionsPageViewModel = new OpenPositionsPageViewModel(Context, DialogService);
     InstrumentsPageViewModel = new InstrumentsPageViewModel(Context, DialogService, Datasourcer, this);
     StrategiesPageViewModel = new StrategiesPageViewModel(Context, DialogService, this);
     TagsPageViewModel = new TagsPageViewModel(Context, DialogService, this);
     TradesPageViewModel = new TradesPageViewModel(Context, DialogService, Datasourcer, this);
     BenchmarksPageViewModel = new BenchmarksPageViewModel(Context, DialogService, Datasourcer, this);
     PerformanceOverviewPageViewModel = new PerformanceOverviewPageViewModel(Context, DialogService);
     OrdersPageViewModel = new OrdersPageViewModel(Context, DialogService, Datasourcer, this);
     PerformanceReportPageViewModel = new PerformanceReportPageViewModel(Context, DialogService, this, Datasourcer);
     FXTransactionsPageViewModel = new FXTransactionsPageViewModel(Context, Datasourcer, DialogService, this);
 }