Table of Contents

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

text string

The text with every detected region replaced.

findings IReadOnlyList<SensitiveContentFinding>

Every finding the scanners reported.

omittedCharacterCount int

How many characters lay beyond what one scan analyzes.

Returns

RedactedText

The result.

Exceptions

ArgumentNullException

Thrown when an argument is null.

ArgumentOutOfRangeException

Thrown when omittedCharacterCount is negative.