예제 #1
0
        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;
        }
예제 #2
0
        public bool NameEquals(ImapMailbox other)
        {
            if (other == null)
            throw new ArgumentNullException("other");

              return NameEquals(other.name);
        }