Constructor CitedFragment
- Namespace
- MailFathom.Application.Discovery.Citations
- Assembly
- MailFathom.Application.dll
CitedFragment(EmailChunkId, int, int, int, string)
The passage one resolved citation points at, and where in the message's own text it sits.
public CitedFragment(EmailChunkId Fragment, int Ordinal, int StartOffset, int EndOffset, string Text)
Parameters
FragmentEmailChunkIdThe passage, named as the citation named it.
OrdinalintIts position in the message, counted from zero in reading order.
StartOffsetintWhere it begins in the extracted text it was cut from.
EndOffsetintWhere it ends in that text, one past its last character.
TextstringThe passage itself, which is what a reader checks the fact against.
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.