Ejemplo n.º 1
0
        /// <summary>
        /// Disposes message.
        /// </summary>
        internal void Dispose()
        {
            if (m_IsDisposed)
            {
                return;
            }

            m_IsDisposed = true;
            m_Pop3Client = null;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="pop3">Owner POP3 client.</param>
 /// <param name="seqNumber">Message 1 based sequence number.</param>
 /// <param name="size">Message size in bytes.</param>
 internal POP3_ClientMessage(POP3_Client pop3, int seqNumber, int size)
 {
     m_Pop3Client     = pop3;
     m_SequenceNumber = seqNumber;
     m_Size           = size;
 }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="pop3">Owner POP3 client.</param>
        internal POP3_ClientMessageCollection(POP3_Client pop3)
        {
            m_pPop3Client = pop3;

            m_pMessages = new List<POP3_ClientMessage>();
        }
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="pop3">Owner POP3 client.</param>
        internal POP3_ClientMessageCollection(POP3_Client pop3)
        {
            m_pPop3Client = pop3;

            m_pMessages = new List <POP3_ClientMessage>();
        }
        /// <summary>
        /// Disposes message.
        /// </summary>
        internal void Dispose()
        {
            if (m_IsDisposed)
            {
                return;
            }

            m_IsDisposed = true;
            m_Pop3Client = null;
        }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="pop3">Owner POP3 client.</param>
 /// <param name="seqNumber">Message 1 based sequence number.</param>
 /// <param name="size">Message size in bytes.</param>
 internal POP3_ClientMessage(POP3_Client pop3, int seqNumber, int size)
 {
     m_Pop3Client = pop3;
     m_SequenceNumber = seqNumber;
     m_Size = size;
 }