public void Speak(string text, bool interrupt) { IAccessibleOutput output = this.GetFirstAvailableOutput(); if (interrupt) { output.StopSpeaking(); } output.Speak(text); }
public void StopSpeaking() { IAccessibleOutput output = this.GetFirstAvailableOutput(); output.StopSpeaking(); }