Class GuardedText
- Namespace
- MailFathom.Application.SensitiveContent.Egress
- Assembly
- MailFathom.Application.dll
Text a guard cleared, together with what the analyzed ceiling kept out of it.
public sealed record GuardedText : IEquatable<GuardedText>
- Inheritance
-
GuardedText
- Implements
- Inherited Members
Remarks
Most consumers need only the text, because the thing they publish carries no statement about its own completeness: a snippet is already an extract and a prompt is composed rather than measured. A consumer that does make such a statement — a body representation naming the bound that cut it — has to know that the ceiling cut, or it would publish a message ending mid-sentence and call it whole.
The findings are deliberately not here. What was detected stays inside the guard and is published as counts by category, so no consumer can log, store, or forward the thing the redaction removed.
Constructors
- GuardedText(string, int)
Text a guard cleared, together with what the analyzed ceiling kept out of it.
Properties
- OmittedCharacterCount
How many characters lay beyond what one scan analyzes and were therefore dropped.
- Text
The text as it may now be handed on, with every detected region replaced.
- WasCutAtAnalyzedCeiling
Gets whether the analyzed ceiling dropped anything from the text.