6 references to OnError
System.Speech (6)
Internal\SrgsParser\SrgsDocumentParser.cs (3)
97
bool hasScript = srgsRule.OnInit != null || srgsRule.OnParse != null || srgsRule.
OnError
!= null || srgsRule.OnRecognition != null;
110
if (srgsRule.
OnError
!= null)
112
rule.CreateScript(grammar, id, srgsRule.
OnError
, RuleMethodScript.onError);
Recognition\SrgsGrammar\SrgsRule.cs (3)
243
if (
OnError
!= null)
245
writer.WriteAttributeString("sapi", "onError", XmlParser.sapiNamespace,
OnError
);
486
return _rule.
OnError
;