Table of Contents

Constructor SensitiveContentEgressGuard

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

SensitiveContentEgressGuard(SensitiveContentRedactor?, ISensitiveContentEgressTelemetry, TimeProvider)

Initializes the guard of a deployment, whether or not it scans anything.

public SensitiveContentEgressGuard(SensitiveContentRedactor? redactor, ISensitiveContentEgressTelemetry telemetry, TimeProvider timeProvider)

Parameters

redactor SensitiveContentRedactor

The one redaction every consumer shares, or null where both switches are off.

telemetry ISensitiveContentEgressTelemetry

Reports what each guarded call found and what it cost.

timeProvider TimeProvider

Measures what the scan added to the operation being guarded.

Exceptions

ArgumentNullException

Thrown when telemetry or timeProvider is null.