public SortMessageQuery(ImapSortCriteria sortOrder, ImapSearchCriteria searchCriteria, Encoding encoding) { this.sortOrder = sortOrder; this.searchCriteria = searchCriteria; this.encoding = encoding; }
public ImapMessageInfoList GetSortedMessages(ImapSortCriteria sortOrder, ImapSearchCriteria searchCriteria, Encoding encoding) { return GetSortedMessages(sortOrder, searchCriteria, encoding, ImapMessageFetchAttributeOptions.Default); }
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)); }
public ImapMessageInfoList GetSortedMessages(ImapSortCriteria sortOrder, ImapSearchCriteria searchCriteria, ImapMessageFetchAttributeOptions options) { return GetSortedMessages(sortOrder, searchCriteria, null, options); }