Method MissingProtectedFolders
- Namespace
- MailFathom.Domain.Folders
- Assembly
- MailFathom.Domain.dll
MissingProtectedFolders(Func<LocalMailFolderId>)
States the protected folders the account lacks.
public IReadOnlyList<LocalMailFolder> MissingProtectedFolders(Func<LocalMailFolderId> mintId)
Parameters
mintIdFunc<LocalMailFolderId>Mints the identity of a folder this creates.
Returns
- IReadOnlyList<LocalMailFolder>
One folder per missing role: an ordinary top-level folder already carrying the role's name takes the role, and otherwise a new top-level folder is created for it.
Exceptions
- ArgumentNullException
Thrown when
mintIdis null.