2 implementations of IItem
System.Speech (2)
Internal\SrgsCompiler\Item.cs (1)
8
internal sealed class Item : ParseElementCollection,
IItem
Recognition\SrgsGrammar\SrgsItem.cs (1)
17
public class SrgsItem : SrgsElement,
IItem
25 references to IItem
System.Speech (25)
Internal\GrammarBuilding\BuilderElements.cs (1)
167
internal void CreateChildrenElements(IElementFactory elementFactory,
IItem
parent, IRule rule, IdentifierCollection ruleIds)
Internal\GrammarBuilding\ItemElement.cs (1)
90
IItem
item = elementFactory.CreateItem(parent, rule, _minRepeat, _maxRepeat, 0.5f, 1f);
Internal\GrammarBuilding\OneOfElement.cs (2)
38
IItem
element = (
IItem
)newItem.CreateElement(elementFactory, oneOf, rule, ruleIds);
Internal\GrammarBuilding\TagElement.cs (1)
70
if (parent is
IItem
item)
Internal\SrgsCompiler\SrgsElementCompilerFactory.cs (3)
55
IItem
IElementFactory.CreateItem(IElement? parent, IRule rule, int minRepeat, int maxRepeat, float repeatProbability, float weight)
143
void IElementFactory.AddItem(IOneOf oneOf,
IItem
item)
151
void IElementFactory.AddElement(
IItem
item, IElement value)
Internal\SrgsParser\IElementFactory.cs (3)
18
IItem
CreateItem(IElement? parent, IRule rule, int minRepeat, int maxRepeat, float repeatProbability, float weight);
35
void AddItem(IOneOf oneOf,
IItem
value);
37
void AddElement(
IItem
item, IElement value);
Internal\SrgsParser\SrgsDocumentParser.cs (5)
190
private
IItem
ParseItem(SrgsItem srgsItem, IElement parent, IRule rule)
192
IItem
item = _parser.CreateItem(parent, rule, srgsItem.MinRepeat, srgsItem.MaxRepeat, srgsItem.RepeatProbability, srgsItem.Weight);
289
IItem
? parentItem = parent as
IItem
;
357
if (child is
IItem
childItem)
Internal\SrgsParser\XmlParser.cs (6)
804
private
IItem
ParseItem(IElement parent, IRule rule, XmlReader reader)
849
IItem
item = _parser.CreateItem(parent, rule, minRepeat, maxRepeat, repeatProbability, weight);
1369
if ((parent is IRule) || (parent is
IItem
))
1452
if (parent is
IItem
parentItem)
1475
if (child is
IItem
childItem)
1492
if (parent is
IItem
parentItem)
Recognition\SrgsGrammar\SrgsElementFactory.cs (3)
92
IItem
IElementFactory.CreateItem(IElement? parent, IRule? rule, int minRepeat, int maxRepeat, float repeatProbability, float weight)
173
void IElementFactory.AddItem(IOneOf oneOf,
IItem
value)
183
void IElementFactory.AddElement(
IItem
item, IElement value)