Пример #1
0
 public virtual void Dispose()
 {
     if (handle != null)
     {
         handle.Dispose();
         handle = null;
     }
     if (deepBinder != null)
     {
         deepBinder.Dispose();
     }
 }
Пример #2
0
        public object GetRequestResult(string request)
        {
            if (_tmp == null)
            {
                _tmp = new DeepBindVarable("", bindingManager);
            }
            _tmp.SetReuest(request);
            object result = _tmp.Value;

            _tmp.Dispose();
            return(result);
        }