Пример #1
0
        private void Dispose(bool disposing)
        {
            if (this._disposed)
            {
                return;                 // If it's already disposed, just get out of here
            }
            if (disposing)
            {
            }                               // Dispose any managed resources - here we don't have any

            RPCObjectManager.Release(this); // Release our dynamic ID

            _disposed = true;
        }
Пример #2
0
 /// <summary>
 /// Constructor which can only be called by derived objects.
 /// </summary>
 protected RPCObject()
 {
     // Let RPCObjectManager generate a new dynamic ID for us
     RPCObjectManager.Init(this);
     this.Subscribers = new List <LogNetClient>();
 }