Method Create
- Namespace
- MailFathom.Application.SensitiveContent.Redaction
- Assembly
- MailFathom.Application.dll
Create(string, IReadOnlyList<SensitiveContentFinding>, int)
Records a redaction.
public static RedactedText Create(string text, IReadOnlyList<SensitiveContentFinding> findings, int omittedCharacterCount)
Parameters
textstringThe text with every detected region replaced.
findingsIReadOnlyList<SensitiveContentFinding>Every finding the scanners reported.
omittedCharacterCountintHow many characters lay beyond what one scan analyzes.
Returns
- RedactedText
The result.
Exceptions
- ArgumentNullException
Thrown when an argument is null.
- ArgumentOutOfRangeException
Thrown when
omittedCharacterCountis negative.