public CreateWordViewModel(INavigationService navigationServcie, IDialogService dialogService, IUnitOfWork unitOfWork, IKeyboardTranscriptionService keyboardService) : base(navigationServcie, dialogService) { _keyboardService = keyboardService; _unitOfWork = unitOfWork; SendCommand = new Command(SendWord); FocusedTranscriptionCommand = new Command(FocusedTranscription); }
//ctor public SettingsViewModel(INavigationService navigationService, IDialogService dialogService, IThemeService themeService, IKeyboardTranscriptionService transcriptKeyboardService, IVolumeLanguageService volumeService, IFirstLanguage firstLanguageService) : base(navigationService, dialogService) { _themeService = themeService; _transcriptKeyboardService = transcriptKeyboardService; _volumeService = volumeService; _firstLanguageService = firstLanguageService; SetCurrentSettings(); SwitchThemeCommand = new Command(SwitchThemeApp); SwitchTranskriptionKeyboardCommand = new Command(SwitchTranscriptionKeyboard); ChangeFirstLanguageCommand = new Command(SwitchFirstLanguageShow); BackUpCommand = new Command(async() => { await ChooseCreateBackUp(); });; RestoreBackUpCommand = new Command(async() => { await RestoreBackup(); }); ChangeVoiceLanguageCommand = new Command(async() => await NavigationService.NavigateToAsync <VolumeLanguagesViewModel>(this)); }