Пример #1
0
            static private void OnRemoveObject_callback(IntPtr instance, IntPtr o, IntPtr session)
            {
                DistClient client = ReferenceDictionary <DistClient> .GetObject(instance);

                if (client != null)
                {
                    try
                    {
                        client.OnRemoveObject?.Invoke(client, GetObject(o), GetSession(session));
                    }
                    catch (Exception ex)
                    {
                        Message.SendException("DistClient", ex);
                    }

                    ReferenceDictionary <DistSession> .RemoveObject(o);
                }
            }
Пример #2
0
            override public void Release()
            {
                ReferenceDictionary <DebugCommandStation> .RemoveObject(this);

                base.Release();
            }
Пример #3
0
            override public void Release()
            {
                ReferenceDictionary <DistObject> .RemoveObject(this);

                base.Release();
            }
Пример #4
0
            override public void ReleaseInRender()
            {
                ReferenceDictionary <NodeAction> .RemoveObject(this);

                base.ReleaseInRender();
            }
Пример #5
0
            override public void Release()
            {
                ReferenceDictionary <DynamicEventReceiver> .RemoveObject(this);

                base.Release();
            }