2 overrides of Invoke2
System.Speech (2)
Internal\SapiInterop\SapiProxy.cs (2)
90internal override void Invoke2(VoidDelegate pfn) 175internal override void Invoke2(VoidDelegate pfn)
18 references to Invoke2
System.Speech (18)
Internal\SapiInterop\SapiGrammar.cs (4)
34_sapiProxy.Invoke2(delegate { _sapiGrammar.SetGrammarState(state); }); 40_sapiProxy.Invoke2(delegate { _sapiGrammar.SetWordSequenceData(text, (uint)text.Length, ref selectionInfo); }); 45_sapiProxy.Invoke2(delegate { _sapiGrammar.LoadCmdFromMemory(grammar, options); }); 50_sapiProxy.Invoke2(delegate { _sapiGrammar.LoadDictation(pszTopicName, options); });
Internal\SapiInterop\SapiRecoContext.cs (9)
24_proxy.Invoke2(delegate { Marshal.ReleaseComObject(_recoContext); }); 36_proxy.Invoke2(delegate { _recoContext.SetInterest(eventInterest, queuedInterest); }); 47_proxy.Invoke2(delegate { _recoContext.SetMaxAlternates(count); }); 52_proxy.Invoke2(delegate { _recoContext.SetAudioOptions(options, audioFormatId, waveFormatEx); }); 57_proxy.Invoke2(delegate { _recoContext.Bookmark(options, position, lparam); }); 62_proxy.Invoke2(delegate { _recoContext.Resume(0); }); 67_proxy.Invoke2(delegate { _recoContext.SetContextState(state); }); 77_proxy.Invoke2(eventNotify.Dispose); 82_proxy.Invoke2(delegate { ((ISpRecoContext2)_recoContext).SetGrammarOptions(options); });
Internal\SapiInterop\SapiRecognizer.cs (5)
65_proxy.Invoke2(delegate { SetProperty(_proxy.Recognizer, name, value); }); 74_proxy.Invoke2(delegate { SetProperty(_proxy.Recognizer, name, value); }); 87_proxy.Invoke2(delegate { _proxy.Recognizer.SetRecognizer(recognizer); }); 128_proxy.Invoke2(delegate { _proxy.Recognizer.SetInput(input, allowFormatChanges); }); 145_proxy.Invoke2(delegate { _proxy.Recognizer.SetRecoState(state); });