Method Create
- Namespace
- MailFathom.Application.Retrieval
- Assembly
- MailFathom.Application.dll
Create(int, int)
Creates bounds, refusing values no retrieval could run under.
public static EmailKnowledgeBounds Create(int maximumPassages, int maximumCharactersPerPassage)
Parameters
maximumPassagesintThe greatest number of passages one retrieval may return.
maximumCharactersPerPassageintThe greatest number of characters one passage may carry.
Returns
- EmailKnowledgeBounds
The validated bounds.
Remarks
The passage count is capped by what one search can rank, because a retrieval is answered from a search window and asking for more passages than that window holds would state a bound no run could reach.
Exceptions
- ArgumentOutOfRangeException
Thrown when either value is outside the range this type accepts.