Пример #1
0
        public BulkEditorViewModel(IWindowFactory windowFactory, MainViewModel mainViewModel) : base(windowFactory)
        {
            MainVM = mainViewModel;
            Logger = MainController.Get().Logger;

            RunCommand = new RelayCommand(Run, CanRun);
            Options    = new BulkEditOptions();

            ProgressReport = new ProgressReport();
        }
Пример #2
0
        public BulkEditorViewModel(
            IProjectManager projectManager,
            ILoggerService loggerService
            ) : base(ToolTitle)
        {
            _projectManager = projectManager;
            Logger          = loggerService;

            RunCommand = new RelayCommand(Run, CanRun);
            Options    = new BulkEditOptions();

            ProgressReport = new ProgressReport();
        }