1 instantiation of FragmentState
System.Speech (1)
Internal\Synthesis\VoiceSynthesis.cs (1)
764FragmentState fragmentState = new();
43 references to FragmentState
System.Speech (43)
Internal\Synthesis\ConvertTextFrag.cs (1)
40FragmentState ssmlState = textFragment.State;
Internal\Synthesis\ISSmlParser.cs (9)
18void ProcessText(string text, object voice, ref FragmentState fragmentState, int position, bool fIgnore); 20void ProcessBreak(object voice, ref FragmentState fragmentState, EmphasisBreak eBreak, int time, bool fIgnore); 23void ProcessMark(object voice, ref FragmentState fragmentState, string name, bool fIgnore); 24object ProcessTextBlock(bool isParagraph, object voice, ref FragmentState fragmentState, CultureInfo? culture, bool newCulture, VoiceGender gender, VoiceAge age); 26void ProcessPhoneme(ref FragmentState fragmentState, AlphabetType alphabet, string ph, char[] phoneIds); 29void ProcessSub(string alias, object voice, ref FragmentState fragmentState, int position, bool fIgnore); 35void ProcessUnknownElement(object voice, ref FragmentState fragmentState, XmlReader reader); 36void StartProcessUnknownAttributes(object voice, ref FragmentState fragmentState, string? element, List<SsmlXmlAttribute> extraAttributes); 37void EndProcessUnknownAttributes(object voice, ref FragmentState fragmentState, string? element, List<SsmlXmlAttribute> extraAttributes);
Internal\Synthesis\SSmlParser.cs (1)
1830internal FragmentState _fragmentState;
Internal\Synthesis\TextFragmentEngine.cs (10)
36public void ProcessText(string text, object voice, ref FragmentState fragmentState, int position, bool fIgnore) 95public void ProcessBreak(object voice, ref FragmentState fragmentState, EmphasisBreak eBreak, int time, bool fIgnore) 114public void ProcessMark(object voice, ref FragmentState fragmentState, string name, bool fIgnore) 125public object ProcessTextBlock(bool isParagraph, object voice, ref FragmentState fragmentState, CultureInfo? culture, bool newCulture, VoiceGender gender, VoiceAge age) 154public void ProcessPhoneme(ref FragmentState fragmentState, AlphabetType alphabet, string ph, char[] phoneIds) 168public void ProcessSub(string alias, object voice, ref FragmentState fragmentState, int position, bool fIgnore) 184public void ProcessUnknownElement(object voice, ref FragmentState fragmentState, XmlReader reader) 195public void StartProcessUnknownAttributes(object voice, ref FragmentState fragmentState, string? element, List<SsmlXmlAttribute> extraAttributes) 208public void EndProcessUnknownAttributes(object voice, ref FragmentState fragmentState, string? element, List<SsmlXmlAttribute> extraAttributes) 300private void AddParseUnknownFragment(object voice, ref FragmentState fragmentState, string text)
Internal\Synthesis\TextWriterEngine.cs (9)
61public void ProcessText(string text, object? voice, ref FragmentState fragmentState, int position, bool fIgnore) 72public void ProcessBreak(object? voice, ref FragmentState fragmentState, EmphasisBreak eBreak, int time, bool fIgnore) 133public void ProcessMark(object? voice, ref FragmentState fragmentState, string name, bool fIgnore) 139public object ProcessTextBlock(bool isParagraph, object? voice, ref FragmentState fragmentState, CultureInfo? culture, bool newCulture, VoiceGender gender, VoiceAge age) 153public void ProcessPhoneme(ref FragmentState fragmentState, AlphabetType alphabet, string ph, char[] phoneIds) 203public void ProcessSub(string alias, object? voice, ref FragmentState fragmentState, int position, bool fIgnore) 266public void ProcessUnknownElement(object? voice, ref FragmentState fragmentState, XmlReader reader) 271public void StartProcessUnknownAttributes(object? voice, ref FragmentState fragmentState, string? sElement, List<SsmlXmlAttribute> extraAttributes) 280public void EndProcessUnknownAttributes(object? voice, ref FragmentState fragmentState, string? sElement, List<SsmlXmlAttribute> extraAttributes)
Internal\Synthesis\VoiceSynthesis.cs (1)
764FragmentState fragmentState = new();
Synthesis\TTSEngine\TTSEngineTypes.cs (12)
176public FragmentState State { get { return _state; } set { _state = value; } } 181internal TextFragment(FragmentState fragState) 186internal TextFragment(FragmentState fragState, string textToSpeak) 191internal TextFragment(FragmentState fragState, string? textToSpeak, string? textFrag, int offset, int length) 206private FragmentState _state; 214public struct FragmentState : IEquatable<FragmentState> 239public static bool operator ==(FragmentState state1, FragmentState state2) 243public static bool operator !=(FragmentState state1, FragmentState state2) 247public bool Equals(FragmentState other) 253if (obj is not FragmentState fs)