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