Method FromDescribedOccurrences
- Assembly
- MailFathom.Application.dll
FromDescribedOccurrences(IReadOnlyList<RemoteEmailFlagObservation>, ulong?)
Reports a window every occurrence of which the server was asked to describe.
public static RemoteFolderWindowObservation FromDescribedOccurrences(IReadOnlyList<RemoteEmailFlagObservation> observations, ulong? folderHighestModSeq)
Parameters
observationsIReadOnlyList<RemoteEmailFlagObservation>The occurrences the server answered for.
folderHighestModSequlong?The folder's highest modification sequence, when it reports one.
Returns
- RemoteFolderWindowObservation
An observation whose surviving occurrences are exactly the ones described.
Remarks
This is the shape of the full window scan, where an occurrence is either described or gone and there is no third answer. It exists so that path cannot accidentally claim an occurrence is unchanged.
Exceptions
- ArgumentNullException
Thrown when
observationsis null.