Table of Contents

Method Across

Namespace
MailFathom.Application.SensitiveContent.Derivation
Assembly
MailFathom.Application.dll

Across(IReadOnlyList<MailAccountSensitiveContentPosture>, SensitiveContentDerivationStamp?)

Computes the one stamp a walk over every account's mail is re-deriving towards.

public static SensitiveContentDerivationStamp? Across(IReadOnlyList<MailAccountSensitiveContentPosture> postures, SensitiveContentDerivationStamp? everyOtherAccount)

Parameters

postures IReadOnlyList<MailAccountSensitiveContentPosture>

What every account whose own record asks for more than the deployment has its mail scanned under, ordered by account.

everyOtherAccount SensitiveContentDerivationStamp?

What the mail of every other account is judged against — served accounts asking for nothing more, and accounts this deployment no longer serves — which is the deployment's own posture, and null where nothing scans it.

Returns

SensitiveContentDerivationStamp?

The composite, or null where no mail this walk covers is scanned at all.

Remarks

It identifies a set of configurations rather than one, and it is written on exactly one thing: the position a re-derivation walk has reached. A derived row records the stamp of the account it belongs to, because that is what says whether that message is stale; a cursor belongs to no account and has to be discarded whenever any account's posture has moved, since the walk it was advancing was skipping rows a new one has to revisit.

It carries the account beside each stamp, so two accounts exchanging postures is a different composite rather than the same one. An account that switched its scanner off since the cursor was written leaves the set, which changes the composite as well, and that is exactly the case that has to discard it.

The fallback is digested beside them because the walk judges every other account's mail against it: those rows are stale exactly when the deployment's own posture moved, and that move is invisible in the named stamps.

Exceptions

ArgumentNullException

Thrown when postures is null.