Ejemplo n.º 1
0
 public ExecuteViewModel(FileRenameViewModel fileRenameViewModel)
 {
     FileRenameViewModel = fileRenameViewModel;
     //ConnectIsBusy(fileRenameViewModel);
     _fileListViewModel = fileRenameViewModel.FileListViewModel;
     _parameterViewModel = fileRenameViewModel.ParameterViewModel;
     _fileRenameController = fileRenameViewModel.FileRenameController;
 }
Ejemplo n.º 2
0
        public FilePreviewViewModel(FileRenameViewModel fileRenameViewModel)
        {
            FileRenameViewModel = fileRenameViewModel;
            _fileListViewModel = fileRenameViewModel.FileListViewModel;
            _parameterViewModel = fileRenameViewModel.ParameterViewModel;
            _fileRenameController = fileRenameViewModel.FileRenameController;

            _fileListViewModel.PropertyChanged += OnFileListViewModelPropertyChanged;
            _parameterViewModel.PropertyChanged += OnParameterViewModelPropertyChanged;
            UpdatePreviewFileName();
        }