Example #1
0
        /// <summary>
        /// Cleans up any resources being used. This method is thread-safe.
        /// </summary>
        public void Dispose()
        {
            lock (this)
            {
                if (m_IsDisposed)
                {
                    return;
                }
                m_IsDisposed = true;

                m_pHeader = null;
                m_pParent = null;
            }
        }
        /// <summary>
        /// Cleans up any resources being used. This method is thread-safe.
        /// </summary>
        public void Dispose()
        {
            lock (this)
            {
                if (m_IsDisposed)
                {
                    return;
                }
                m_IsDisposed = true;

                m_pHeader = null;
                m_pParent = null;
            }
        }
Example #3
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public MIME_Entity()
 {
     m_pHeader       = new MIME_h_Collection(new MIME_h_Provider());
     m_pBodyProvider = new MIME_b_Provider();
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 public MIME_Entity()
 {
     m_pHeader = new MIME_h_Collection(new MIME_h_Provider());
     m_pBodyProvider = new MIME_b_Provider();
 }