Table of Contents

Class MailBodyCleaningSegment

Namespace
MailFathom.Application.EmailContent.Cleaning
Assembly
MailFathom.Application.dll

One contiguous range of block indices, and whether a cleaning keeps it or drops it.

public sealed record MailBodyCleaningSegment : IEquatable<MailBodyCleaningSegment>
Inheritance
MailBodyCleaningSegment
Implements
Inherited Members

Remarks

Nothing here is believed. It is what a producer wrote, and MailBodyCleaningSegments is what decides whether a set of them describes the document at all.

Constructors

MailBodyCleaningSegment(int, int, bool)

One contiguous range of block indices, and whether a cleaning keeps it or drops it.

Properties

From

The first block index the range covers.

Keep

Whether the blocks in the range are drawn.

To

The last block index the range covers, which equals From for a range of one.