示例#1
0
 internal void SetPropertyNum(string name, int value)
 {
     _proxy.Invoke2(delegate
     {
         SetProperty(_proxy.Recognizer, name, value);
     });
 }
示例#2
0
 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);
 }