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