public FeedbackViewModel(FeedbacksFactory factory, IAudioRecorderService audioRecorder) { SaveCommand = factory.GetSaveFeedbackCommand(this); AudioRecorder = audioRecorder; StartRecordingCommand = new StartRecordingCommand(this); StopRecordingCommand = new StopRecordingCommand(this); SpeechToTextCommand = factory.GetSpeechToTextCommand(this); PropertyChanged += OnViewModelPropertyChanged; }
public FeedbacksViewModel(FeedbacksFactory factory) { LoadCommand = factory.GetLoadFeedbacksCommand(this); }