Class ContactCollectionRun
- Namespace
- MailFathom.Application.Contacts.Collection
- Assembly
- MailFathom.Application.dll
What one synchronization run of one folder collects under.
public sealed record ContactCollectionRun : IEquatable<ContactCollectionRun>
- Inheritance
-
ContactCollectionRun
- Implements
- Inherited Members
Remarks
The three are carried together because none answers anything on its own: the account decides whose settings are read and whose correspondents the addresses are recorded as, the role decides which header of a message is read, and the budget decides how much of what is read may be written. All three are properties of the run rather than of the message that reached it, which is why the account is here rather than taken from the message — a message reached in one account's run is that account's correspondence whatever occurrence identity it carries. Opening one per run is also what makes the bound the run's — a value built per message would bound nothing.
Constructors
- ContactCollectionRun(MailAccountId, MailFolderSpecialUse?, ContactCollectionBudget)
What one synchronization run of one folder collects under.
Properties
- Account
The account being synchronized, by its generated identifier, which is what a read of its mail narrows on.
- Budget
How many contacts this run may still record.
- FolderRole
The role the folder plays, or null when configuration gave it none.