Example #1
0
        /// <summary>
        /// Disposes object
        /// </summary>
        /// <param name="disposing">Flag indicating whether managed resources should be disposed</param>
        protected virtual void Dispose(bool disposing)
        {
            if (!this._disposed)
            {
                if (disposing)
                {
                    // Dispose managed objects
                    if (_p11_40 != null)
                    {
                        _p11_40.Dispose();
                        _p11_40 = null;
                    }

                    if (_p11_41 != null)
                    {
                        _p11_41.Dispose();
                        _p11_41 = null;
                    }

                    if (_p11_80 != null)
                    {
                        _p11_80.Dispose();
                        _p11_80 = null;
                    }

                    if (_p11_81 != null)
                    {
                        _p11_81.Dispose();
                        _p11_81 = null;
                    }
                }

                // Dispose unmanaged objects
                _disposed = true;
            }
        }