コード例 #1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="session">Reference to current IMAP session.</param>
 /// <param name="messageInfo">Message info what message items to get.</param>
 /// <param name="messageItems">Specifies message items what must be filled.</param>
 public IMAP_eArgs_MessageItems(IMAP_Session session,
                                IMAP_Message messageInfo,
                                IMAP_MessageItems_enum messageItems)
 {
     m_pSession     = session;
     m_pMessageInfo = messageInfo;
     m_MessageItems = messageItems;
 }
コード例 #2
0
        /// <summary>
        /// Raises event GetMessageItems.
        /// </summary>
        /// <param name="session">Reference to IMAP session.</param>
        /// <param name="messageInfo">Message info what message items to get.</param>
        /// <param name="messageItems">Specifies message items what must be filled.</param>
        /// <returns></returns>
        protected internal IMAP_eArgs_MessageItems OnGetMessageItems(IMAP_Session session,
                                                                     IMAP_Message messageInfo,
                                                                     IMAP_MessageItems_enum messageItems)
        {
            IMAP_eArgs_MessageItems eArgs = new IMAP_eArgs_MessageItems(session, messageInfo, messageItems);

            if (GetMessageItems != null)
            {
                GetMessageItems(session, eArgs);
            }
            return(eArgs);
        }
コード例 #3
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="session">Reference to current IMAP session.</param>
 /// <param name="messageInfo">Message info what message items to get.</param>
 /// <param name="messageItems">Specifies message items what must be filled.</param>
 public IMAP_eArgs_MessageItems(IMAP_Session session,IMAP_Message messageInfo,IMAP_MessageItems_enum messageItems)
 {
     m_pSession     = session;
     m_pMessageInfo = messageInfo;
     m_MessageItems = messageItems;
 }
コード例 #4
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="messageID">Message ID what message items to get.</param>
 /// <param name="messageItems">Specifies message items what must be filled.</param>
 public EmailMessageItems(string messageID, IMAP_MessageItems_enum messageItems)
 {
     m_MessageID    = messageID;
     m_MessageItems = messageItems;
 }
コード例 #5
0
ファイル: EmailMessageItems.cs プロジェクト: dioptre/nkd
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="messageID">Message ID what message items to get.</param>
 /// <param name="messageItems">Specifies message items what must be filled.</param>
 public EmailMessageItems(string messageID,IMAP_MessageItems_enum messageItems)
 {
     m_MessageID    = messageID;
     m_MessageItems = messageItems;
 }