Table of Contents

Class RootSettingsCommitRules

Namespace
MailFathom.Infrastructure.Persistence.Settings
Assembly
MailFathom.Infrastructure.dll

What a candidate persisted-configuration document has to satisfy before a statement is issued for it.

public static class RootSettingsCommitRules
Inheritance
RootSettingsCommitRules
Inherited Members

Remarks

Pure decisions over the candidate, deliberately outside the writer that issues the statement: the statement needs a database and is proved by the integration suite, while whether a document may be handed to one at all is decidable here and belongs in the unit suite's measurement. It is the arrangement MailFathom.Infrastructure.Persistence.Settings.RootSettingsReadFailures has with the reader, for the same reason.

Methods

FitsWhatIsComposedFrom(string)

Gets whether a candidate document fits what the layer composes settings from.

PersistedOctetsOf(string)

Measures a candidate as the database will store it rather than as it was composed.

RefuseWhatCannotBeCommitted(string, long)

Refuses a candidate no statement should be issued for.