示例#1
0
        private MainViewModel CreateMainViewModel()
        {
            var audioService           = MockGenerator.CreateAudioService();
            var optionsService         = MockGenerator.CreateOptionsService();
            var destService            = MockGenerator.CreateRecordingsDestinationService();
            var commandLineService     = MockGenerator.CreateCommandLineService();
            var copyService            = MockGenerator.CreateCopyRecordingsService();
            var snackbarService        = MockGenerator.CreateSnackbarService();
            var purgeRecordingsService = MockGenerator.CreatePurgeRecordingsService();

            return(new MainViewModel(
                       audioService,
                       optionsService.Object,
                       commandLineService.Object,
                       destService.Object,
                       copyService.Object,
                       snackbarService.Object,
                       purgeRecordingsService.Object));
        }