public ClusterTasksViewModelFactory(
     ClustersListViewModel clustersListViewModel,
     ClusterGetViewModel clusterGetViewModel,
     ClusterStartViewModel clusterStartViewModel
     )
 {
     _clustersListViewModel = clustersListViewModel;
     _clusterGetViewModel   = clusterGetViewModel;
     _clusterStartViewModel = clusterStartViewModel;
 }
コード例 #2
0
 public ClusterTasksViewModel(
     MainWindowViewModel parent,
     ClustersListViewModel clustersListViewModel,
     ClusterGetViewModel clusterGetViewModel,
     ClusterStartViewModel clusterStartViewModel
     )
 {
     ClustersListViewModel = clustersListViewModel;
     ClusterGetViewModel   = clusterGetViewModel;
     ClusterStartViewModel = clusterStartViewModel;
     GoBackCommand         = new SimpleCommand <object, object>(x => parent.CurrentTaskViewModel = parent);
 }