7 references to OnInit
System.Speech (7)
Internal\SrgsParser\SrgsDocumentParser.cs (3)
97
bool hasScript = srgsRule.
OnInit
!= null || srgsRule.OnParse != null || srgsRule.OnError != null || srgsRule.OnRecognition != null;
100
if (srgsRule.
OnInit
!= null)
102
rule.CreateScript(grammar, id, srgsRule.
OnInit
, RuleMethodScript.onInit);
Recognition\SrgsGrammar\SrgsRule.cs (4)
231
if (
OnInit
!= null)
233
writer.WriteAttributeString("sapi", "onInit", XmlParser.sapiNamespace,
OnInit
);
296
if (
OnInit
!= null && Scope != SrgsRuleScope.Public)
470
return _rule.
OnInit
;