7 instantiations of SrgsRuleRef
System.Speech (7)
Recognition\SrgsGrammar\SrgsElementFactory.cs (2)
106return new SrgsRuleRef(srgsUri); 111return new SrgsRuleRef(semanticKey, parameters, srgsUri);
Recognition\SrgsGrammar\SrgsRuleRef.cs (5)
113public static readonly SrgsRuleRef Null = new(SpecialRuleRefType.Null); 116public static readonly SrgsRuleRef Void = new(SpecialRuleRefType.Void); 119public static readonly SrgsRuleRef Garbage = new(SpecialRuleRefType.Garbage); 120public static readonly SrgsRuleRef Dictation = new(new Uri("grammar:dictation")); 121public static readonly SrgsRuleRef MnemonicSpelling = new(new Uri("grammar:dictation#spelling"));
14 references to SrgsRuleRef
System.Speech (14)
Internal\SrgsParser\SrgsDocumentParser.cs (6)
138private IRuleRef ParseRuleRef(SrgsRuleRef srgsRuleRef, IElement parent) 143if (srgsRuleRef == SrgsRuleRef.Null) 147else if (srgsRuleRef == SrgsRuleRef.Void) 151else if (srgsRuleRef == SrgsRuleRef.Garbage) 291if (elementType == typeof(SrgsRuleRef)) 293child = ParseRuleRef((SrgsRuleRef)srgsElement, parent);
Recognition\SrgsGrammar\SrgsElementFactory.cs (3)
200return SrgsRuleRef.Null; 207return SrgsRuleRef.Void; 214return SrgsRuleRef.Garbage;
Recognition\SrgsGrammar\SrgsRuleRef.cs (5)
113public static readonly SrgsRuleRef Null = new(SpecialRuleRefType.Null); 116public static readonly SrgsRuleRef Void = new(SpecialRuleRefType.Void); 119public static readonly SrgsRuleRef Garbage = new(SpecialRuleRefType.Garbage); 120public static readonly SrgsRuleRef Dictation = new(new Uri("grammar:dictation")); 121public static readonly SrgsRuleRef MnemonicSpelling = new(new Uri("grammar:dictation#spelling"));