Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="disposing"></param>
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (m_ireporter != null)
                {
                    m_ireporter.Dispose();
                    m_ireporter = null;
                }

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

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

                if (ReportingTimer != null)
                {
                    ReportingTimer.Dispose();
                    ReportingTimer = null;
                }
            }
        }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (m_ireporter != null)
         {
             m_ireporter.Dispose();
             m_ireporter = null;
         }
     }
 }
Example #3
0
        /// <summary>
        /// Dispose of the backing store before garbage collection.
        /// </summary>
        /// <param name="disposing">
        /// <see langword="true"/> if disposing; otherwise, <see langword="false"/>.
        /// </param>
        protected virtual void Dispose(bool disposing)
        {
            if (!IsDisposed)
            {
                if (disposing)
                {
                    // Dispose managed resources.
                    if (m_ireporter != null)
                    {
                        m_ireporter.Dispose();
                        m_ireporter = null;
                    }
                }

                // Dispose unmanaged resources.

                // Note disposing has been done.
                IsDisposed = true;
            }
        }
Example #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (m_issuingTbl != null)
         {
             m_issuingTbl.Dispose();
             m_issuingTbl = null;
         }
         if (m_responseTbl != null)
         {
             m_responseTbl.Dispose();
             m_responseTbl = null;
         }
         if (m_ireporter != null)
         {
             m_ireporter.Dispose();
             m_ireporter = null;
         }
     }
 }
Example #5
0
        /// <summary>
        /// Dispose of the backing store before garbage collection.
        /// </summary>
        /// <param name="disposing">
        /// <see langword="true"/> if disposing; otherwise, <see langword="false"/>.
        /// </param>
        protected override void Dispose(bool disposing)
        {
            if (!IsDisposed)
            {
                if (disposing)
                {
                    // Dispose managed resources.
                    if (m_ireporter != null)
                    {
                        m_ireporter.Dispose();
                        m_ireporter = null;
                    }
                }

                // Dispose unmanaged resources.

                // Note disposing has been done.
                IsDisposed = true;
            }

            // Call Dispose in the base class.
            base.Dispose(disposing);
        }