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