/// <summary> /// Default constructor /// </summary> public IMAPFolder() { _subFolders = new IMAPFolderCollection(); _parentFolder = null; _folderName = String.Empty; _folderPath = String.Empty; _parentFolderName = String.Empty; _messages = new IMAPMessageCollection(); _quota = new IMAPFolderQuota(); }
/// <summary> /// Alternate Constructor /// </summary> /// <param name="name"></param> /// <param name="parent"></param> public IMAPFolder(string name, string parent) { _subFolders = new IMAPFolderCollection(); _parentFolder = null; _folderName = name; _parentFolderName = parent; _folderPath = String.Empty; _messages = new IMAPMessageCollection(); _quota = new IMAPFolderQuota(); }