Method CoverWith
- Namespace
- MailFathom.Application.SensitiveContent.Detection
- Assembly
- MailFathom.Application.dll
CoverWith(SensitiveContentSpan)
Produces the smallest span covering both this one and another.
public SensitiveContentSpan CoverWith(SensitiveContentSpan other)
Parameters
otherSensitiveContentSpanThe span to cover as well.
Returns
- SensitiveContentSpan
The covering span.
Remarks
Used where two findings overlap. Covering both is what keeps the tail of the longer one from surviving into the redacted text, which dropping the second finding would leave behind.