6 writes to Value
System.Speech (6)
Result\RecognizedPhrase.cs (6)
429_semantics.Value = TryExecuteOnRecognition(grammar, _recoResult, ruleTree._rule); 487semanticValue.Value = childrenSemantics.Value; 506childrenSemantics.Value = sb.ToString(); 536semanticValue.Value = newValue; 588semanticValue.Value = thisSemanticValue.Value; 624semanticValue.Value = thisSemanticValue.Value;
29 references to Value
System.Speech (29)
Result\RecognitionResult.cs (2)
504if (Semantics?.Value != null) 507sb.Append(Semantics.Value.ToString());
Result\RecognizedPhrase.cs (21)
65else if (Semantics?.Value != null) 67XmlText valueText = document.CreateTextNode(Semantics.Value.ToString()); 481if (childrenSemantics.Value != null) 483if ((semanticTag & (GrammarOptions.MssV1 | GrammarOptions.W3cV1)) == 0 && semanticValue._valueFieldSet && !semanticValue.Value!.Equals(childrenSemantics.Value)) 487semanticValue.Value = childrenSemantics.Value; 554node._name = (string)thisSemanticValue.Value!; 588semanticValue.Value = thisSemanticValue.Value; 620if ((semanticTag & (GrammarOptions.MssV1 | GrammarOptions.W3cV1)) == 0 && semanticValue._valueFieldSet && !semanticValue.Value!.Equals(thisSemanticValue.Value)) 624semanticValue.Value = thisSemanticValue.Value; 951object? resultValue = result.Semantics?.Value; 1048if (_semantics.Value != null) 1050XmlText valueText = document.CreateTextNode(_semantics.Value.ToString()); 1068if (string.IsNullOrEmpty(alternateNode.InnerText) && semanticsNode.Value != null) 1070XmlText valueText = document.CreateTextNode(semanticsNode.Value.ToString()); 1088if (kv.Value.Value != null) 1090XmlText valueText = document.CreateTextNode(kv.Value.Value.ToString()); 1095else if (kv.Value.Value != null) 1097XmlText valueText = document.CreateTextNode(kv.Value.Value.ToString()); 1116propertyNode.SetAttribute(kv.Key, kv.Value.Value?.ToString());
Result\SemanticValue.cs (6)
41if (refObj == null || refObj.Count != Count || refObj.Value == null && Value != null || (refObj.Value != null && !refObj.Value.Equals(Value))) 206_value = value.Value;