IFolder.cs
上传用户:wdhx888
上传日期:2017-06-08
资源大小:112k
文件大小:1k
- using System;
- using EricDaugherty.CSES.Common;
- namespace EricDaugherty.CSES.Mailbox
- {
- /// <summary>
- /// The folder class defines the interface used to
- /// interact with a specific folder in a user's mailbox.
- /// </summary>
- /// <remarks>
- /// Incomplete.
- /// </remarks>
- public interface IFolder
- {
- #region Properties
- /// <summary>
- /// The total number of messages in this folder
- /// </summary>
- int MessageCount { get; }
- /// <summary>
- /// The total size of all messages in this folder.
- /// </summary>
- long Size { get; }
- #endregion
- #region Methods
- /// <summary>
- /// Add a message to the current folder.
- /// </summary>
- /// <param name="fromAddress">The FROM address for the email.</param>
- /// <param name="data">The raw message data.</param>
- void addMessage( EmailAddress fromAddress, string data );
- #endregion
-
- }
- }