GetTopLines_Eventargs.cs
上传用户:horngjaan
上传日期:2009-12-12
资源大小:2882k
文件大小:1k
- using System;
- namespace LumiSoft.MailServer.POP3
- {
- /// <summary>
- /// Provides data for the GetTopLines event.
- /// </summary>
- public class GetTopLines_Eventargs
- {
- private string m_Mailbox = "";
- private string m_messageID = "";
- private int m_Lines = 0;
- private byte[] m_LinesData = null;
- /// <summary>
- /// Default constructor.
- /// </summary>
- /// <param name="mailbox">Mailbox name.</param>
- /// <param name="messageID">Message ID.</param>
- /// <param name="nLines">Number of lines to get.</param>
- public GetTopLines_Eventargs(string mailbox,string messageID,int nLines)
- {
- m_Mailbox = mailbox;
- m_messageID = messageID;
- m_Lines = nLines;
- }
- #region Properties Implementation
- /// <summary>
- /// Mailbox name.
- /// </summary>
- public string Mailbox
- {
- get{ return m_Mailbox; }
- }
- /// <summary>
- /// Message ID of message which TOP lines to get.
- /// </summary>
- public string MessageID
- {
- get{ return m_messageID; }
- }
- /// <summary>
- /// Number of lines to get.
- /// </summary>
- public int Lines
- {
- get{ return m_Lines; }
- }
- /// <summary>
- /// Gets or sets TOP lines.
- /// </summary>
- public byte[] LinesData
- {
- get{ return m_LinesData; }
- set{ m_LinesData = value; }
- }
- #endregion
- }
- }