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;
 }
Exemple #2
0
 public FeedbacksViewModel(FeedbacksFactory factory)
 {
     LoadCommand = factory.GetLoadFeedbacksCommand(this);
 }