Table of Contents

Method FromDescribedOccurrences

Namespace
MailFathom.Application.Synchronization.Reconciliation
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

observations IReadOnlyList<RemoteEmailFlagObservation>

The occurrences the server answered for.

folderHighestModSeq ulong?

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 observations is null.