Method AccountsForPlacementAt
- Namespace
- MailFathom.Domain.Delivery.Filing
- Assembly
- MailFathom.Domain.dll
AccountsForPlacementAt(RemoteFolderPath, ImapUidValidity, ImapUid)
Reports whether a newly discovered occurrence is the copy this filing appended.
public bool AccountsForPlacementAt(RemoteFolderPath discoveredFolderPath, ImapUidValidity discoveredUidValidity, ImapUid discoveredUid)
Parameters
discoveredFolderPathRemoteFolderPathThe remote path of the folder the occurrence was discovered in.
discoveredUidValidityImapUidValidityThe UIDVALIDITY that folder reports now.
discoveredUidImapUidThe UID the discovered occurrence carries.
Returns
Remarks
The UIDVALIDITY is compared as well as the UID, so a folder recreated between the append and the discovery matches nothing here: the recorded UID names a message in a UID space the folder no longer has. Such a discovery falls to AccountsForMessageAt(RemoteFolderPath, string?), which compares an identity a renumbering does not touch.