コード例 #1
0
 public SortMessageQuery(ImapSortCriteria sortOrder, ImapSearchCriteria searchCriteria, Encoding encoding)
 {
     this.sortOrder = sortOrder;
     this.searchCriteria = searchCriteria;
     this.encoding = encoding;
 }
コード例 #2
0
 public ImapMessageInfoList GetSortedMessages(ImapSortCriteria sortOrder,
                                          ImapSearchCriteria searchCriteria,
                                          Encoding encoding)
 {
     return GetSortedMessages(sortOrder, searchCriteria, encoding, ImapMessageFetchAttributeOptions.Default);
 }
コード例 #3
0
        public ImapMessageInfoList GetSortedMessages(ImapSortCriteria sortOrder,
                                                 ImapSearchCriteria searchCriteria,
                                                 Encoding encoding,
                                                 ImapMessageFetchAttributeOptions options)
        {
            if (sortOrder == null)
            throw new ArgumentNullException("sortOrder");
              if (searchCriteria == null)
            throw new ArgumentNullException("searchCriteria");

              Client.ThrowIfIncapable(ImapCapability.Sort);

              return new ImapMessageInfoList(this, options, new SortMessageQuery(sortOrder, searchCriteria, encoding));
        }
コード例 #4
0
 public ImapMessageInfoList GetSortedMessages(ImapSortCriteria sortOrder,
                                          ImapSearchCriteria searchCriteria,
                                          ImapMessageFetchAttributeOptions options)
 {
     return GetSortedMessages(sortOrder, searchCriteria, null, options);
 }