Constructor SensitiveContentRedactor
- Namespace
- MailFathom.Application.SensitiveContent.Redaction
- Assembly
- MailFathom.Application.dll
SensitiveContentRedactor(SensitiveContentPlan, IEnumerable<ISensitiveContentScanner>, TimeProvider, SensitiveContentScanConcurrency)
Initializes the redaction one posture with at least one scanner switched on is read under.
public SensitiveContentRedactor(SensitiveContentPlan plan, IEnumerable<ISensitiveContentScanner> scanners, TimeProvider timeProvider, SensitiveContentScanConcurrency concurrency)
Parameters
planSensitiveContentPlanWhat that posture 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.
concurrencySensitiveContentScanConcurrencyThe process-wide budget of scans running at once, which every posture shares.
Exceptions
- ArgumentNullException
Thrown when an argument is null.