Constructor RootSettingsDocument
- Namespace
- MailFathom.Infrastructure.Persistence.Settings
- Assembly
- MailFathom.Infrastructure.dll
RootSettingsDocument(string, long)
The persisted configuration document, as one snapshot with the version it was read at.
public RootSettingsDocument(string Json, long Version)
Parameters
JsonstringThe sparse settings document, as the JSON object the row holds.
VersionlongThe version the document was read at, which a writer states and is refused against.
Remarks
The whole document travels together because the configuration layer built from it is replaced whole: a reader that answered per key would query the database once per configuration property, and a reload that merged into the previous snapshot could not express a key the new document no longer carries.