public TestDetailsViewModel(Test test, ITestItemViewModelFactory testItemViewModelFactory,
            ILogFileManager logFileManager, ILogController logController, 
            IAppController appController, IRecordingController recordingController,
            ITrainingController trainingController,
            IEventAggregator eventAggregator)
        {
            this.test = test;
            this.testItemViewModelFactory = testItemViewModelFactory;
            this.logFileManager = logFileManager;
            this.logController = logController;
            this.appController = appController;
            this.recordingController = recordingController;
            this.trainingController = trainingController;

            eventAggregator.GetEvent<AddTestItemEvent>().Subscribe(AddTestItemEventHandler);
            //TestItems = new ObservableCollection<ITestItemViewModel>(test.TestItems.Select(testItemViewModelFactory.Create));
            RefreshTestItems();
            PlayCommand = new DelegateCommand(ExecutePlayCommand);
            AppendToEndOfTestCommand = new DelegateCommand(ExecuteAppendToEndOfTestCommand);
            AppendToStartOfTestCommand = new DelegateCommand(ExecuteAppendToStartOfTestCommand);
            AppendAfterSelectedItemCommand = new DelegateCommand(ExecuteAppendAfterSelectedItemCommand);
            DeleteSelectedItemCommand = new DelegateCommand(ExecuteDeleteSelectedItemCommand);
            RefreshCommand = new DelegateCommand(ExecuteRefresh);
            RunAsTrainingCommand = new DelegateCommand(EecuteRunAsTrainingCommand);
        }
 public MainShellViewModel(IProjectSuiteController projectSuiteController,
     IRecordingController recordingController, ITestFileManager testFileManager)
 {
     this.projectSuiteController = projectSuiteController;
     this.recordingController = recordingController;
     this.testFileManager = testFileManager;
     NewProjectSuiteCommand = new DelegateCommand(ExecuteNewProjectSuiteCommand);
     OpenProjectSuiteCommand = new DelegateCommand(ExecuteOpenProjectSuiteCommand);
     RecordCommand = new DelegateCommand(ExecuteRecordCommand, CanExecuteRecordCommand);
 }
        public RecorderViewModel(IRecorder recorder,
            IEnumerable<IValidationListItemViewModel> validationList,
            IRecordingController recordingController)
        {
            this.recorder = recorder;
            this.recordingController = recordingController;
            ValidationList = validationList.ToArray();

            RecordCommand = new DelegateCommand(ExecuteRecordCommand, CanExecuteRecordCommand);
            StopCommand = new DelegateCommand(ExecuteStopCommand, CanExecuteStopCommand);
            PauseCommand = new DelegateCommand(ExecutePauseCommand, CanExecutePauseCommand);
        }
        public TestItemEditorViewModel(TestItem testItem,
            ITestObjectEditorViewModelFactory testObjectEditorViewModelFactory,
            ITestOperationEditorViewModelFactory testOperationEditorViewModelFactory,
            ITestParameterEditorViewModelFactory testParameterEditorViewModelFactory,
            ITestDescriptionEditorViewModelFactory testDescriptionEditorViewModelFactory,
            ITestItemController testItemController,
            IRecordingController recordingController)
        {
            this.testItem = testItem;
            this.testItemController = testItemController;
            this.recordingController = recordingController;

            TestObjectEditorViewModel = testObjectEditorViewModelFactory.Create(testItem);
            TestOperationEditorViewModel = testOperationEditorViewModelFactory.Create(testItem);
            TestParameterEditorViewModel = testParameterEditorViewModelFactory.Create(testItem);
            TestDescriptionEditorViewModel = testDescriptionEditorViewModelFactory.Create(testItem);

            CancelCommand = new DelegateCommand(ExecuteCancelCommand);
            FinishCommand = new DelegateCommand(ExecuteFinishCommand);
            nextCommand = new DelegateCommand(ExecuteNextCommand, CanExeccuteNextCommand);
            NextCommand = nextCommand;
        }
        protected ValidationListItemViewModel(IRecordingController recordingController)
        {
            this.recordingController = recordingController;

            CreateValidationCommand = new DelegateCommand(ExecuteCreateValidationCommand);
        }
 public ValidateTextAtPointListItemViewModel(IRecordingController recordingController)
     : base(recordingController)
 {
 }