DataPage<T> constructor

DataPage<T>(List<T> data, int total)

Creates a new instance of data page and assigns its values.

  • data a list of items from the retrieved page.
  • total (optional) .