示例#1
0
        /// <summary>
        /// Disposes this instance.
        /// </summary>
        /// <param name="isDisposing">Indicates whether this instance is disposing</param>
        protected override void Dispose(bool isDisposing)
        {
            if (_isDisposed)
            {
                return;
            }

            _parentZone?.Dispose();
            _entity?.Dispose();

            _isDisposed = true;

            base.Dispose(isDisposing);
        }