internal static ImapMailbox CreateFrom(ImapMailboxList list) { if (list == null) throw new ArgumentNullException("list"); var mailbox = new ImapMailbox(list.Name); mailbox.hierarchyDelimiter = list.HierarchyDelimiter; mailbox.flags = list.NameAttributes; return mailbox; }
public bool NameEquals(ImapMailbox other) { if (other == null) throw new ArgumentNullException("other"); return NameEquals(other.name); }