Search Results for

    Show / Hide Table of Contents

    Method ToPagedResult

    | Improve this Doc View Source

    ToPagedResult<T>(IEnumerable<T>, PagedInfo)

    Converts an instance of type Result to PagedResult<T>.

    Declaration
    public PagedResult<T> ToPagedResult<T>(IEnumerable<T> data, PagedInfo pagedInfo)
    Parameters
    Type Name Description
    IEnumerable<T> data

    The value to be set.

    PagedInfo pagedInfo

    Some information about the page.

    Returns
    Type Description
    PagedResult<T>

    An instance of type PagedResult<T>.

    Type Parameters
    Name Description
    T

    The type of objects to enumerate.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2023 SimpleResults