10 references to SrgsRuleScope
System.Speech (10)
Internal\SrgsParser\SrgsDocumentParser.cs (1)
98IRule rule = grammar.CreateRule(id, srgsRule.Scope == SrgsRuleScope.Public ? RulePublic.True : RulePublic.False, srgsRule.Dynamic, hasScript);
Recognition\SrgsGrammar\SrgsGrammar.cs (2)
199rule.Scope = publicRule == RulePublic.True ? SrgsRuleScope.Public : SrgsRuleScope.Private;
Recognition\SrgsGrammar\SrgsRule.cs (7)
80public SrgsRuleScope Scope 210case SrgsRuleScope.Private: 214case SrgsRuleScope.Public: 296if (OnInit != null && Scope != SrgsRuleScope.Public) 301if (OnRecognition != null && Scope != SrgsRuleScope.Public) 402private SrgsRuleScope _scope = SrgsRuleScope.Private;