10 references to State
System.Speech (10)
Internal\Synthesis\VoiceSynthesis.cs (9)
346
if (
State
== SynthesizerState.Speaking)
351
if (
State
== SynthesizerState.Paused)
458
if (_pendingSpeakQueue.Count > 0 &&
State
== SynthesizerState.Ready)
484
if (
State
== SynthesizerState.Paused)
694
if (_currentPrompt == null &&
State
!= SynthesizerState.Paused)
1015
System.Diagnostics.Debug.Assert(
State
== SynthesizerState.Speaking ||
State
== SynthesizerState.Paused);
1017
if (
State
!= SynthesizerState.Paused)
1594
for (int i = 0; i < 20 &&
State
!= SynthesizerState.Ready; i++)
Synthesis\SpeechSynthesizer.cs (1)
406
return VoiceSynthesizer.
State
;