internal void SetPropertyNum(string name, int value) { _proxy.Invoke2(delegate { SetProperty(_proxy.Recognizer, name, value); }); }
internal void SetGrammarState(SPGRAMMARSTATE state) { _sapiProxy.Invoke2(delegate { _sapiGrammar.SetGrammarState(state); }); }
public void Dispose() { if (!_disposed) { _proxy.Invoke2(delegate { Marshal.ReleaseComObject(_recoContext); }); _disposed = true; } GC.SuppressFinalize(this); }