Method FromRequested
- Namespace
- MailFathom.Application.Emails.Search
- Assembly
- MailFathom.Application.dll
FromRequested(int?)
Creates a limit from a request that may not have named one.
public static EmailSearchResultLimit FromRequested(int? value)
Parameters
Returns
- EmailSearchResultLimit
The validated limit, or Default when the request named none.
Exceptions
- EmailSearchResultLimitOutOfRangeException
Thrown when
valueis named and outside the accepted range.