Example #1
0
 public SaveCommand(
     AppContext appContext,
     IDispatcher dispacher,
     ISaveBusinessLogic businessLogic,
     ICommand saveAsCommand,
     ProjectSettingPageViewModel projectSettingPageViewModel,
     MemberPageViewModel memberPageViewModel,
     WbsPageViewModel wbsPageViewModel,
     ProcessDependencyPageViewModel processDependencyPageViewModel,
     FunctionDependencyPageViewModel functionDependencyPageViewModel,
     PertPageViewModel pertPageViewModel,
     ShellViewModel shellViewModel,
     IMapper mapper)
 {
     this.appContext    = appContext;
     this.dispatcher    = dispacher;
     this.businessLogic = businessLogic;
     this.saveAsCommand = saveAsCommand;
     this.projectSettingPageViewModel     = projectSettingPageViewModel;
     this.memberPageViewModel             = memberPageViewModel;
     this.wbsPageViewModel                = wbsPageViewModel;
     this.processDependencyPageViewModel  = processDependencyPageViewModel;
     this.functionDependencyPageViewModel = functionDependencyPageViewModel;
     this.pertPageViewModel               = pertPageViewModel;
     this.shellViewModel = shellViewModel;
     this.mapper         = mapper;
 }
Example #2
0
 public ProcessDependencyPage(ProcessDependencyPageViewModel viewModel)
 {
     InitializeComponent();
     this.DataContext = viewModel;
     this.viewModel   = viewModel;
 }