Table of Contents

Method For

Namespace
MailFathom.Application.SensitiveContent.Redaction
Assembly
MailFathom.Application.dll

For(SensitiveContentCategory)

Produces the placeholder that replaces a region of one category.

public static string For(SensitiveContentCategory category)

Parameters

category SensitiveContentCategory

The kind of material that stood there.

Returns

string

The replacement text.

Remarks

The category's own grammar admits no bracket, no whitespace, and no newline, so the result cannot be made to close early or to span a line by anything a rule corpus declares.

Exceptions

ArgumentNullException

Thrown when category is null.

For(SensitiveContentFinding)

Produces the placeholder that replaces the region a finding covers.

public static string For(SensitiveContentFinding finding)

Parameters

finding SensitiveContentFinding

The finding being redacted.

Returns

string

The replacement text.

Exceptions

ArgumentNullException

Thrown when finding is null.