2 implementations of CreateItem
System.Speech (2)
Internal\SrgsCompiler\SrgsElementCompilerFactory.cs (1)
55IItem IElementFactory.CreateItem(IElement? parent, IRule rule, int minRepeat, int maxRepeat, float repeatProbability, float weight)
Recognition\SrgsGrammar\SrgsElementFactory.cs (1)
92IItem IElementFactory.CreateItem(IElement? parent, IRule? rule, int minRepeat, int maxRepeat, float repeatProbability, float weight)
3 references to CreateItem
System.Speech (3)
Internal\GrammarBuilding\ItemElement.cs (1)
90IItem item = elementFactory.CreateItem(parent, rule, _minRepeat, _maxRepeat, 0.5f, 1f);
Internal\SrgsParser\SrgsDocumentParser.cs (1)
192IItem item = _parser.CreateItem(parent, rule, srgsItem.MinRepeat, srgsItem.MaxRepeat, srgsItem.RepeatProbability, srgsItem.Weight);
Internal\SrgsParser\XmlParser.cs (1)
849IItem item = _parser.CreateItem(parent, rule, minRepeat, maxRepeat, repeatProbability, weight);