DataWeb
Search Results for

    Show / Hide Table of Contents

    Class PaginationHelper

    This class contains methods for pagination support.

    Inheritance
    object
    PaginationHelper
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Structure
    Assembly: DataWeb.Core.dll
    Syntax
    public static class PaginationHelper

    Methods

    GetPaginationInfo(int, long, long)

    Gets the pagination info for the provided list data.

    Declaration
    public static PaginationInfo GetPaginationInfo(int pageSize, long pageIndex, long itemCount)
    Parameters
    Type Name Description
    int pageSize

    The size of the page.

    long pageIndex

    The index of the current page.

    long itemCount

    The total count of the items.

    Returns
    Type Description
    PaginationInfo

    A computed pagination info

    In this article
    Back to top Generated by DocFX