Beispiel #1
0
 public AllTableMakerProductsViewModel(TableMakerProductServiceClass tableMakerProductService, TableMakerProductTypeServiceClass tableMakerProductTypeServie, ProjectServiceClass projectService)
 {
     _tableMakerProductTypeServie = tableMakerProductTypeServie;
     _tableMakerProductService    = tableMakerProductService;
     _projectService = projectService;
     this.CreateAllTableMakerProducts(_tableMakerProductService.Items);
     _tableMakerProductService.Items.CollectionChanged += Items_CollectionChanged;
 }
Beispiel #2
0
 public AllProjectsViewModel(TesterServiceClass testerService, ProjectServiceClass projectService, BatteryTypeServiceClass batteryTypeServie, ProgramServiceClass programService, ProjectSettingServiceClass projectSettingService, TableMakerProductServiceClass tableMakerProductService)
 {
     _testerService            = testerService;
     _projectService           = projectService;
     _batteryTypeService       = batteryTypeServie;
     _programService           = programService;
     _projectSettingService    = projectSettingService;
     _tableMakerProductService = tableMakerProductService;
     this.CreateAllProjects(_projectService.Items);
     _projectService.Items.CollectionChanged += Items_CollectionChanged;
 }