예제 #1
0
 public PositionConfigViewModel(IFileSpecsService fileSpecsService, IFileDataService fileDataService, ISystemSpecsService systemSpecsService, IRegionManager regionManager)
 {
     fss           = fileSpecsService;
     fds           = fileDataService;
     rm            = regionManager;
     sss           = systemSpecsService;
     ExportCommand = new DelegateCommand(Export);
     Initialize();
 }
예제 #2
0
        public FileSelectViewModel(IFileSpecsService fileSpecService, IFilePathService filePathService, IRegionManager regionManager)
        {
            fss = fileSpecService;
            fps = filePathService;
            rm  = regionManager;

            GetSystemNameCommand = new DelegateCommand(AddFileSpecs);
            SystemNameRequest    = new InteractionRequest <INotification>();
            addFileSpecsCommand  = new DelegateCommand(AddFileSpecs);
            addFilePathCommand   = new DelegateCommand <object>(AddFilePath);
            fileSpecs            = fss.GetSpecs();
        }