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