Table of Contents

Interface ISensitiveContentGuardScope

Namespace
MailFathom.Application.SensitiveContent.Egress
Assembly
MailFathom.Application.dll

Holds one guarded operation's report open while the values it publishes are being scanned.

public interface ISensitiveContentGuardScope : IDisposable
Inherited Members

Remarks

An operation rather than a value, because a value is not what anybody waits for: one read of a message scans a body representation, a subject, and a display name, and the number a reader felt is the sum of them. A span apiece would report each of those as fast while the operation they compose stayed slow.

What reaches it is a count, an ending, and the egress point — never a finding, a category's match, a position, or any part of the text, for the reason the instruments beside it carry none of those: a span store is the last place the credential a scan removed should be written down.

Methods

Completed()

Records that the operation guarded everything it was going to, which is what separates it from one that stopped.

Refused()

Records that a scanner could not answer, which refuses the operation rather than serving it unscanned.

TextGuarded()

Records one more text scanned inside this operation.