Constructor SensitiveContentRedactor
- Namespace
- MailFathom.Application.SensitiveContent.Redaction
- Assembly
- MailFathom.Application.dll
SensitiveContentRedactor(SensitiveContentPlan, IEnumerable<ISensitiveContentScanner>, TimeProvider)
Initializes the redactor of a deployment with at least one scanner switched on.
public SensitiveContentRedactor(SensitiveContentPlan plan, IEnumerable<ISensitiveContentScanner> scanners, TimeProvider timeProvider)
Parameters
planSensitiveContentPlanWhat this deployment scans for, and what one scan may spend.
scannersIEnumerable<ISensitiveContentScanner>Every registered detector, of which the planned ones are used.
timeProviderTimeProviderTimes the per-call budget and stamps the findings.
Exceptions
- ArgumentNullException
Thrown when an argument is null.