68 references to ThrowIfEmptyOrNull
System.Speech (68)
Internal\ObjectToken\RegistryDataKey.cs (2)
359
Helpers.
ThrowIfEmptyOrNull
(keyName, nameof(keyName));
378
Helpers.
ThrowIfEmptyOrNull
(keyName, nameof(keyName));
Internal\ObjectToken\SAPICategories.cs (1)
17
Helpers.
ThrowIfEmptyOrNull
(category, nameof(category));
Internal\SrgsParser\XmlParser.cs (1)
1830
Helpers.
ThrowIfEmptyOrNull
(id, nameof(id));
Recognition\Choices.cs (1)
43
Helpers.
ThrowIfEmptyOrNull
(phrase, "phrase");
Recognition\Grammar.cs (1)
590
Helpers.
ThrowIfEmptyOrNull
(value, nameof(value));
Recognition\GrammarBuilder.cs (7)
77
Helpers.
ThrowIfEmptyOrNull
(phrase, nameof(phrase));
84
Helpers.
ThrowIfEmptyOrNull
(phrase, nameof(phrase));
92
Helpers.
ThrowIfEmptyOrNull
(phrase, nameof(phrase));
187
Helpers.
ThrowIfEmptyOrNull
(category, nameof(category));
204
Helpers.
ThrowIfEmptyOrNull
(path, nameof(path));
224
Helpers.
ThrowIfEmptyOrNull
(path, nameof(path));
225
Helpers.
ThrowIfEmptyOrNull
(rule, nameof(rule));
Recognition\RecognizerBase.cs (8)
313
Helpers.
ThrowIfEmptyOrNull
(inputText, nameof(inputText));
320
Helpers.
ThrowIfEmptyOrNull
(inputText, nameof(inputText));
327
Helpers.
ThrowIfEmptyOrNull
(inputText, nameof(inputText));
346
Helpers.
ThrowIfEmptyOrNull
(inputText, nameof(inputText));
828
Helpers.
ThrowIfEmptyOrNull
(settingName, nameof(settingName));
836
Helpers.
ThrowIfEmptyOrNull
(settingName, nameof(settingName));
855
Helpers.
ThrowIfEmptyOrNull
(settingName, nameof(settingName));
862
Helpers.
ThrowIfEmptyOrNull
(settingName, nameof(settingName));
Recognition\SemanticResultKey.cs (3)
18
Helpers.
ThrowIfEmptyOrNull
(semanticResultKey, nameof(semanticResultKey));
26
Helpers.
ThrowIfEmptyOrNull
(semanticResultKey, nameof(semanticResultKey));
39
Helpers.
ThrowIfEmptyOrNull
(semanticResultKey, nameof(semanticResultKey));
Recognition\SemanticResultValue.cs (1)
22
Helpers.
ThrowIfEmptyOrNull
(phrase, nameof(phrase));
Recognition\SpeechRecognitionEngine.cs (2)
59
Helpers.
ThrowIfEmptyOrNull
(recognizerId, nameof(recognizerId));
228
Helpers.
ThrowIfEmptyOrNull
(path, nameof(path));
Recognition\SpeechUI.cs (1)
16
Helpers.
ThrowIfEmptyOrNull
(feedback, nameof(feedback));
Recognition\SrgsGrammar\SrgsDocument.cs (2)
34
Helpers.
ThrowIfEmptyOrNull
(path, nameof(path));
264
Helpers.
ThrowIfEmptyOrNull
(value, nameof(value));
Recognition\SrgsGrammar\SrgsGrammar.cs (1)
457
Helpers.
ThrowIfEmptyOrNull
(value, nameof(value));
Recognition\SrgsGrammar\SrgsGrammarCompiler.cs (4)
24
Helpers.
ThrowIfEmptyOrNull
(inputPath, nameof(inputPath));
61
Helpers.
ThrowIfEmptyOrNull
(outputPath, nameof(outputPath));
96
Helpers.
ThrowIfEmptyOrNull
(outputPath, nameof(outputPath));
107
Helpers.
ThrowIfEmptyOrNull
(outputPath, nameof(outputPath));
Recognition\SrgsGrammar\SrgsItem.cs (1)
27
Helpers.
ThrowIfEmptyOrNull
(text, nameof(text));
Recognition\SrgsGrammar\SrgsNameValueTag.cs (2)
176
Helpers.
ThrowIfEmptyOrNull
(name, parameterName);
182
Helpers.
ThrowIfEmptyOrNull
(name, parameterName);
Recognition\SrgsGrammar\SrgsRule.cs (1)
122
Helpers.
ThrowIfEmptyOrNull
(value, nameof(value));
Recognition\SrgsGrammar\SrgsRuleRef.cs (5)
25
Helpers.
ThrowIfEmptyOrNull
(rule, nameof(rule));
31
Helpers.
ThrowIfEmptyOrNull
(semanticKey, nameof(semanticKey));
37
Helpers.
ThrowIfEmptyOrNull
(parameters, nameof(parameters));
50
Helpers.
ThrowIfEmptyOrNull
(semanticKey, nameof(semanticKey));
57
Helpers.
ThrowIfEmptyOrNull
(parameters, nameof(parameters));
Recognition\SrgsGrammar\SrgsSubset.cs (4)
24
Helpers.
ThrowIfEmptyOrNull
(text, nameof(text));
34
Helpers.
ThrowIfEmptyOrNull
(_text, nameof(text));
64
Helpers.
ThrowIfEmptyOrNull
(value, nameof(value));
66
Helpers.
ThrowIfEmptyOrNull
(value, nameof(value));
Recognition\SrgsGrammar\SrgsToken.cs (4)
22
Helpers.
ThrowIfEmptyOrNull
(text, nameof(text));
37
Helpers.
ThrowIfEmptyOrNull
(value, nameof(value));
58
Helpers.
ThrowIfEmptyOrNull
(value, nameof(value));
72
Helpers.
ThrowIfEmptyOrNull
(value, nameof(value));
Synthesis\PromptBuilder.cs (8)
321
Helpers.
ThrowIfEmptyOrNull
(name, nameof(name));
547
Helpers.
ThrowIfEmptyOrNull
(sayAs, nameof(sayAs));
560
Helpers.
ThrowIfEmptyOrNull
(textToSpeak, nameof(textToSpeak));
561
Helpers.
ThrowIfEmptyOrNull
(pronunciation, nameof(pronunciation));
659
Helpers.
ThrowIfEmptyOrNull
(path, nameof(path));
707
Helpers.
ThrowIfEmptyOrNull
(bookmarkName, nameof(bookmarkName));
730
Helpers.
ThrowIfEmptyOrNull
(path, nameof(path));
763
Helpers.
ThrowIfEmptyOrNull
(ssmlMarkup, nameof(ssmlMarkup));
Synthesis\SpeechSynthesizer.cs (3)
37
Helpers.
ThrowIfEmptyOrNull
(name, nameof(name));
189
Helpers.
ThrowIfEmptyOrNull
(path, nameof(path));
197
Helpers.
ThrowIfEmptyOrNull
(path, nameof(path));
Synthesis\TTSEngine\TTSEngineTypes.cs (4)
177
public string TextToSpeak { get { return _textToSpeak; } set { Helpers.
ThrowIfEmptyOrNull
(value, nameof(value)); _textToSpeak = value; } }
413
[DisallowNull] public string? InterpretAs { get { return _interpretAs; } set { Helpers.
ThrowIfEmptyOrNull
(value, nameof(value)); _interpretAs = value; } }
414
[DisallowNull] public string? Format { get { return _format; } set { Helpers.
ThrowIfEmptyOrNull
(value, nameof(value)); _format = value; } }
415
[DisallowNull] public string? Detail { get { return _detail; } set { Helpers.
ThrowIfEmptyOrNull
(value, nameof(value)); _detail = value; } }
Synthesis\VoiceInfo.cs (1)
24
Helpers.
ThrowIfEmptyOrNull
(name, nameof(name));