2 overrides of Invoke
System.Speech (2)
Internal\SapiInterop\SapiProxy.cs (2)
85
internal override object?
Invoke
(ObjectDelegate pfn)
156
internal override object?
Invoke
(ObjectDelegate pfn)
13 references to Invoke
System.Speech (13)
Internal\SapiInterop\SapiGrammar.cs (2)
55
return (SAPIErrorCodes)_sapiProxy.
Invoke
(delegate { return _sapiGrammar.SetDictationState(state); })!;
60
return (SAPIErrorCodes)_sapiProxy.
Invoke
(delegate { return _sapiGrammar.SetRuleState(name, IntPtr.Zero, state); })!;
Internal\SapiInterop\SapiRecoContext.cs (2)
42
return (SapiGrammar)_proxy.
Invoke
(delegate { _recoContext.CreateGrammar(id, out sapiGrammar); return new SapiGrammar(sapiGrammar, _proxy); })!;
72
return (EventNotify)_proxy.
Invoke
(delegate { return new EventNotify(_recoContext, asyncWorker, supportsSapi53); })!;
Internal\SapiInterop\SapiRecognizer.cs (9)
70
return (int)_proxy.
Invoke
(delegate { return GetProperty(_proxy.Recognizer, name, true); })!;
79
return (string)_proxy.
Invoke
(delegate { return GetProperty(_proxy.Recognizer, name, false); })!;
100
return (RecognizerInfo)_proxy.
Invoke
(delegate
134
return (SapiRecoContext)_proxy.
Invoke
(delegate { _proxy.Recognizer.CreateRecoContext(out context); return new SapiRecoContext(context, _proxy); })!;
140
return (SPRECOSTATE)_proxy.
Invoke
(delegate { _proxy.Recognizer.GetRecoState(out state); return state; })!;
151
return (SPRECOGNIZERSTATUS)_proxy.
Invoke
(delegate { _proxy.Recognizer.GetStatus(out status); return status; })!;
156
return (IntPtr)_proxy.
Invoke
(delegate
167
return (SAPIErrorCodes)_proxy.
Invoke
(delegate { return _proxy.SapiSpeechRecognizer.EmulateRecognition(phrase, ref displayAttributes, 0); })!;
172
return (SAPIErrorCodes)_proxy.
Invoke
(delegate { return _proxy.Recognizer2.EmulateRecognitionEx(iSpPhrase, dwCompareFlags); })!;