9 references to Name
System.Speech (9)
Internal\Synthesis\VoiceSynthesis.cs (3)
1161
if (sysVoice.Enabled && sysVoice.VoiceInfo.
Name
!= null && (firstCharacter = name.IndexOf(sysVoice.VoiceInfo.
Name
, StringComparison.Ordinal)) >= 0)
1163
int lastCharacter = firstCharacter + sysVoice.VoiceInfo.
Name
.Length;
Synthesis\InstalledVoice.cs (3)
57
return VoiceInfo.
Name
== ti2.VoiceInfo.
Name
&& VoiceInfo.Age == ti2.VoiceInfo.Age && VoiceInfo.Gender == ti2.VoiceInfo.Gender && object.Equals(VoiceInfo.Culture, ti2.VoiceInfo.Culture);
61
return VoiceInfo.
Name
?.GetHashCode() ?? 0;
Synthesis\PromptBuilder.cs (2)
292
if (!string.IsNullOrEmpty(voice.
Name
))
294
startVoice._attributes.Add(new AttributeItem("name", voice.
Name
));
Synthesis\SpeechSynthesizer.cs (1)
40
if (ttsVoice == null || name != ttsVoice.VoiceInfo.
Name
)