Method Create
- Namespace
- MailFathom.Domain.Folders
- Assembly
- MailFathom.Domain.dll
Create(bool, bool, bool)
Builds the participation an operator's three answers describe, for a folder their mapping names.
public static MailFolderParticipation Create(bool isSynchronized, bool generatesEmbeddings, bool isVisibleToTools)
Parameters
isSynchronizedboolWhether the folder's mail is mirrored locally.
generatesEmbeddingsboolWhether the mirrored content is embedded.
isVisibleToToolsboolWhether MCP tools may read the folder.
Returns
- MailFolderParticipation
The participation, with everything an unmirrored folder cannot take part in already withdrawn.
Remarks
Every value this builds is mapped, because the three answers are what a mapping says and there is nowhere else to write them. Unmapped is therefore reached by a folder having no mapping rather than by an argument here.