示例#1
0
            private void OnRemoveObject_callback(IntPtr o, IntPtr session)
            {
                OnRemoveObject?.Invoke(this, manager.DistObjectInstanceManager.GetObject(o), manager.DistSessionInstanceManager.GetSession(session));
                var r = manager.DistObjectInstanceManager.DropObject(o);

                System.Diagnostics.Debug.Assert(r);
            }
示例#2
0
 private void OnRemoveObject_callback(IntPtr o, IntPtr session)
 {
     OnRemoveObject?.Invoke(this, manager.DistObjectInstanceManager.GetObject(o), manager.DistSessionInstanceManager.GetSession(session));
     manager.DistObjectInstanceManager.DropObject(o);
 }