Class CitedFragment
- Namespace
- MailFathom.Application.Discovery.Citations
- Assembly
- MailFathom.Application.dll
The passage one resolved citation points at, and where in the message's own text it sits.
public sealed record CitedFragment : IEquatable<CitedFragment>
- Inheritance
-
CitedFragment
- Implements
- Inherited Members
Remarks
The offsets are published beside the text rather than instead of it. They are what makes the reference verifiable — the same span of the same extracted text returns exactly this passage — and what lets a reader who opens the whole message be taken to the place the fact came from rather than to the top of it.
Its length is the chunking rules' rather than this route's: a passage is cut to TargetCharacterCount before it is ever written down, so what one resolution may carry is bounded by how mail is cut rather than by a second bound applied on the way out.
The text is mail content and inherits the source message's classification whole. It is never logged, never attached to a span, and crosses to a caller only through the guarded egress the resolver opens.
Constructors
- CitedFragment(EmailChunkId, int, int, int, string)
The passage one resolved citation points at, and where in the message's own text it sits.
Properties
- EndOffset
Where it ends in that text, one past its last character.
- Fragment
The passage, named as the citation named it.
- Ordinal
Its position in the message, counted from zero in reading order.
- StartOffset
Where it begins in the extracted text it was cut from.
- Text
The passage itself, which is what a reader checks the fact against.