2 implementations of CreateToken
System.Speech (2)
Internal\SrgsCompiler\SrgsElementCompilerFactory.cs (1)
49IToken IElementFactory.CreateToken(IElement parent, string content, string? pronunciation, string? display, float reqConfidence)
Recognition\SrgsGrammar\SrgsElementFactory.cs (1)
42IToken IElementFactory.CreateToken(IElement parent, string content, string? pronunciation, string? display, float reqConfidence)
5 references to CreateToken
System.Speech (5)
Internal\GrammarBuilding\GrammarBuilderPhrase.cs (1)
112XmlParser.ParseText(parent, _phrase, null, null, -1f, new CreateTokenCallback(elementFactory.CreateToken));
Internal\SrgsParser\SrgsDocumentParser.cs (2)
209return _parser.CreateToken(parent, srgsToken.Text, srgsToken.Pronunciation, srgsToken.Display, -1); 223XmlParser.ParseText(parent, sChars, pronunciation, display, reqConfidence, new CreateTokenCallback(_parser.CreateToken));
Internal\SrgsParser\XmlParser.cs (2)
1025return _parser.CreateToken(parent, content, sPronunciation, sDisplay, reqConfidence); 1039ParseText(parent, sChars, pronunciation, display, reqConfidence, new CreateTokenCallback(_parser.CreateToken));