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)
38IRule IGrammar.CreateRule(string id, RulePublic publicRule, RuleDynamic dynamic, bool hasScript) 57if (publicRule == RulePublic.True) 72if (publicRule == RulePublic.True || id == _sRoot || hasScript)
Internal\SrgsParser\IGrammar.cs (1)
14IRule CreateRule(string id, RulePublic publicRule, RuleDynamic dynamic, bool hasSCript);
Internal\SrgsParser\SrgsDocumentParser.cs (2)
98IRule rule = grammar.CreateRule(id, srgsRule.Scope == SrgsRuleScope.Public ? RulePublic.True : RulePublic.False, srgsRule.Dynamic, hasScript);
Internal\SrgsParser\XmlParser.cs (6)
502RulePublic publicRule = RulePublic.NotSet; 529publicRule = RulePublic.False; 533publicRule = RulePublic.True; 612if (sInit != null && publicRule != RulePublic.True) 617if (sRecognition != null && publicRule != RulePublic.True)
Recognition\GrammarBuilder.cs (1)
495IRule root = elementFactory.Grammar.CreateRule(rootId, RulePublic.False, RuleDynamic.NotSet, false);
Recognition\SrgsGrammar\SrgsGrammar.cs (3)
194IRule IGrammar.CreateRule(string id, RulePublic publicRule, RuleDynamic dynamic, bool hasScript) 197if (publicRule != RulePublic.NotSet) 199rule.Scope = publicRule == RulePublic.True ? SrgsRuleScope.Public : SrgsRuleScope.Private;