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