Beispiel #1
0
 public OpenFileCommand(
     AppContext appContext,
     IOpenFileBusinessLogic openFileBusinessLogic,
     FunctionDependencyPageViewModel functionDependencyPageViewModel,
     WbsPageViewModel wbsPageViewModel,
     PertPageViewModel pertPageViewModel,
     ShellViewModel shellViewModel,
     IIDGenerator memberIdGen,
     IIDGenerator taskIdGen,
     IIDGenerator pertIdGen,
     IMapper mapper,
     IDispatcher dispatcher)
 {
     this.appContext                      = appContext;
     this.openFileBusinessLogic           = openFileBusinessLogic;
     this.functionDependencyPageViewModel = functionDependencyPageViewModel;
     this.wbsPageViewModel                = wbsPageViewModel;
     this.pertPageViewModel               = pertPageViewModel;
     this.shellViewModel                  = shellViewModel;
     this.memberIdGen                     = memberIdGen;
     this.taskIdGen  = taskIdGen;
     this.pertIdGen  = pertIdGen;
     this.mapper     = mapper;
     this.dispatcher = dispatcher;
 }
Beispiel #2
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;
 }
Beispiel #3
0
 public WbsPage(WbsPageViewModel viewModel)
 {
     InitializeComponent();
     this.DataContext = viewModel;
     this.viewModel   = viewModel;
 }