17 references to RulePublic
System.Speech (17)
Internal\GrammarBuilding\RuleElement.cs (1)
66
_rule = grammar.CreateRule(_ruleName,
RulePublic
.False, RuleDynamic.NotSet, false);
Internal\SrgsCompiler\GrammarElement.cs (3)
38
IRule IGrammar.CreateRule(string id,
RulePublic
publicRule, RuleDynamic dynamic, bool hasScript)
57
if (publicRule ==
RulePublic
.True)
72
if (publicRule ==
RulePublic
.True || id == _sRoot || hasScript)
Internal\SrgsParser\IGrammar.cs (1)
14
IRule CreateRule(string id,
RulePublic
publicRule, RuleDynamic dynamic, bool hasSCript);
Internal\SrgsParser\SrgsDocumentParser.cs (2)
98
IRule rule = grammar.CreateRule(id, srgsRule.Scope == SrgsRuleScope.Public ?
RulePublic
.True :
RulePublic
.False, srgsRule.Dynamic, hasScript);
Internal\SrgsParser\XmlParser.cs (6)
502
RulePublic
publicRule =
RulePublic
.NotSet;
529
publicRule =
RulePublic
.False;
533
publicRule =
RulePublic
.True;
612
if (sInit != null && publicRule !=
RulePublic
.True)
617
if (sRecognition != null && publicRule !=
RulePublic
.True)
Recognition\GrammarBuilder.cs (1)
495
IRule root = elementFactory.Grammar.CreateRule(rootId,
RulePublic
.False, RuleDynamic.NotSet, false);
Recognition\SrgsGrammar\SrgsGrammar.cs (3)
194
IRule IGrammar.CreateRule(string id,
RulePublic
publicRule, RuleDynamic dynamic, bool hasScript)
197
if (publicRule !=
RulePublic
.NotSet)
199
rule.Scope = publicRule ==
RulePublic
.True ? SrgsRuleScope.Public : SrgsRuleScope.Private;