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