Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Oct 30, 2024
1 parent 4f7e6f9 commit 71e023e
Showing 1 changed file with 0 additions and 57 deletions.
57 changes: 0 additions & 57 deletions src/Moonglade.Web/PagedList/PagedListMetaData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
///</summary>
public class PagedListMetaData : IPagedList
{
/// <summary>
/// Protected constructor that allows for instantiation without passing in a separate list.
/// </summary>
protected PagedListMetaData()
{
}
Expand All @@ -30,74 +27,20 @@ public PagedListMetaData(IPagedList pagedList)
LastItemOnPage = pagedList.LastItemOnPage;
}

/// <summary>
/// Total number of subsets within the superset.
/// </summary>
/// <value>
/// Total number of subsets within the superset.
/// </value>
public int PageCount { get; protected set; }

/// <summary>
/// Total number of objects contained within the superset.
/// </summary>
/// <value>
/// Total number of objects contained within the superset.
/// </value>
public int TotalItemCount { get; protected set; }

/// <summary>
/// One-based index of this subset within the superset, zero if the superset is empty.
/// </summary>
/// <value>
/// One-based index of this subset within the superset, zero if the superset is empty.
/// </value>
public int PageNumber { get; protected set; }

/// <summary>
/// Maximum size any individual subset.
/// </summary>
/// <value>
/// Maximum size any individual subset.
/// </value>
public int PageSize { get; protected set; }

/// <summary>
/// Returns true if the superset is not empty and PageNumber is less than or equal to PageCount and this is NOT the first subset within the superset.
/// </summary>
/// <value>
/// Returns true if the superset is not empty and PageNumber is less than or equal to PageCount and this is NOT the first subset within the superset.
/// </value>
public bool HasPreviousPage { get; protected set; }

/// <summary>
/// Returns true if the superset is not empty and PageNumber is less than or equal to PageCount and this
/// is NOT the last subset within the superset.
/// </summary>
/// <value>
/// Returns true if the superset is not empty and PageNumber is less than or equal to PageCount and this
/// is NOT the last subset within the superset.
/// </value>
public bool HasNextPage { get; protected set; }

/// <summary>
/// Returns true if the superset is not empty and PageNumber is less than or equal to PageCount and this
/// is the first subset within the superset.
/// </summary>
/// <value>
/// Returns true if the superset is not empty and PageNumber is less than or equal to PageCount and
/// this is the first subset within the superset.
/// </value>
public bool IsFirstPage { get; protected set; }

/// <summary>
/// Returns true if the superset is not empty and PageNumber is less than or equal to PageCount and
/// this is the last subset within the superset.
/// </summary>
/// <value>
/// Returns true if the superset is not empty and PageNumber is less than or equal to PageCount and this
/// is the last subset within the superset.
/// </value>
public bool IsLastPage { get; protected set; }

/// <summary>
Expand Down

0 comments on commit 71e023e

Please sign in to comment.