10 references to Semantics
System.Speech (10)
Result\RecognitionResult.cs (5)
89if (phrase.Text == null || phrase.Homophones == null || phrase.Semantics == null || (sml == null && sml != null) || (audio == null && audio != null)) 504if (Semantics?.Value != null) 507sb.Append(Semantics.Value.ToString()); 510if (Semantics?.Count > 0) 513sb.Append(Semantics.Count.ToString(CultureInfo.InvariantCulture));
Result\RecognizedPhrase.cs (5)
61if (Semantics?.Count > 0) 63AppendPropertiesSML(document, root, Semantics, nfo); 65else if (Semantics?.Value != null) 67XmlText valueText = document.CreateTextNode(Semantics.Value.ToString()); 951object? resultValue = result.Semantics?.Value;