Table of Contents

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

value int?

The requested page size, or null when the request named none.

Returns

MailboxQueryPageSize

The validated page size, or Default when the request named none.

Exceptions

MailboxQueryPageSizeOutOfRangeException

Thrown when value is named and outside the accepted range.