Example #1
0
 public ExecuteViewModel(FileRenameViewModel fileRenameViewModel)
 {
     FileRenameViewModel = fileRenameViewModel;
     //ConnectIsBusy(fileRenameViewModel);
     _fileListViewModel = fileRenameViewModel.FileListViewModel;
     _parameterViewModel = fileRenameViewModel.ParameterViewModel;
     _fileRenameController = fileRenameViewModel.FileRenameController;
 }
        public FilePreviewViewModel(FileRenameViewModel fileRenameViewModel)
        {
            FileRenameViewModel = fileRenameViewModel;
            _fileListViewModel = fileRenameViewModel.FileListViewModel;
            _parameterViewModel = fileRenameViewModel.ParameterViewModel;
            _fileRenameController = fileRenameViewModel.FileRenameController;

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