Search Results for

    Show / Hide Table of Contents

    Class ProductPage

    One page of Find(ProductQuery, int, int, CancellationToken) results.

    Inheritance
    object
    ProductPage
    Implements
    IEquatable<ProductPage>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Activout.Blue5
    Assembly: Activout.Blue5.dll
    Syntax
    public sealed record ProductPage : IEquatable<ProductPage>

    Constructors

    | Edit this page View Source

    ProductPage(IReadOnlyList<Product>, long, int, int)

    One page of Find(ProductQuery, int, int, CancellationToken) results.

    Declaration
    public ProductPage(IReadOnlyList<Product> Items, long TotalCount, int Page, int PageSize)
    Parameters
    Type Name Description
    IReadOnlyList<Product> Items

    Products on this page.

    long TotalCount

    Total number of matches reported by PAPI.

    int Page

    0-based page number.

    int PageSize

    Requested page size.

    Properties

    | Edit this page View Source

    HasNextPage

    Whether a following page has results.

    Declaration
    public bool HasNextPage { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Items

    Products on this page.

    Declaration
    public IReadOnlyList<Product> Items { get; init; }
    Property Value
    Type Description
    IReadOnlyList<Product>
    | Edit this page View Source

    Page

    0-based page number.

    Declaration
    public int Page { get; init; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    PageSize

    Requested page size.

    Declaration
    public int PageSize { get; init; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    TotalCount

    Total number of matches reported by PAPI.

    Declaration
    public long TotalCount { get; init; }
    Property Value
    Type Description
    long

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX