Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Nov 22, 2024
1 parent 6edde94 commit 5d4dff2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 64 deletions.
49 changes: 0 additions & 49 deletions src/Moonglade.Web/PagedList/IPagedList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,59 +22,10 @@ public interface IPagedList<out T> : IPagedList;
/// </remarks>
public interface IPagedList
{
/// <summary>
/// Total number of subsets within the superset.
/// </summary>
/// <value>
/// Total number of subsets within the superset.
/// </value>
int PageCount { get; }

/// <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>
int PageNumber { get; }

/// <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>
bool HasPreviousPage { get; }

/// <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>
bool HasNextPage { get; }

/// <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>
bool IsFirstPage { get; }

/// <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>
bool IsLastPage { get; }
}
15 changes: 0 additions & 15 deletions src/Moonglade.Web/PagedList/PagedListRenderOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,9 @@ public PagedListRenderOptions()
NextElementClass = "paged-list-skip-to-next";
}

///<summary>
/// CSSClasses to append to the &lt;ul&gt; element in the paging control.
///</summary>
public IEnumerable<string> UlElementClasses { get; set; }

///<summary>
/// CSS Classes to append to every &lt;a&gt; or &lt;span&gt; element that represent each page in the paging control.
///</summary>
public IEnumerable<string> PageClasses { get; set; }

///<summary>
/// CSS Classes to append to previous element in the paging control.
///</summary>
public string PreviousElementClass { get; set; }

///<summary>
/// CSS Classes to append to next element in the paging control.
///</summary>
public string NextElementClass { get; set; }

///<summary>
Expand Down

0 comments on commit 5d4dff2

Please sign in to comment.