Method With
- Namespace
- MailFathom.Domain.Folders
- Assembly
- MailFathom.Domain.dll
With(IReadOnlyCollection<LocalMailFolder>)
Returns the tree with the given folders written over it.
public LocalMailFolderTree With(IReadOnlyCollection<LocalMailFolder> saved)
Parameters
savedIReadOnlyCollection<LocalMailFolder>The folders to write, each new or replacing the folder of the same identity.
Returns
- LocalMailFolderTree
The tree afterwards.
Exceptions
- ArgumentNullException
Thrown when
savedis null.