Пример #1
0
 /// <summary>
 /// Handles "VoiceRecorderResumed" of the IVoiceRecorderService object.
 /// Invokes "VoiceRecorderResumed" to other application's modules.
 /// </summary>
 /// <param name="sender">Instance of the VoiceRecorderService class.</param>
 /// <param name="e">Contains event data.</param>
 private void VoiceRecorderResumedEventHandler(object sender, EventArgs e)
 {
     VoiceRecorderResumed?.Invoke(this, new EventArgs());
 }
 /// <summary>
 /// Resumes recording.
 /// Invokes "VoiceRecorderResumed" to other application's modules.
 /// </summary>
 private void ResumeVoiceRecording()
 {
     _recorder.Resume();
     VoiceRecorderResumed?.Invoke(this, new EventArgs());
 }