Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge X.PagedList lib into the code #757

Merged
merged 15 commits into from
Oct 12, 2023
Prev Previous commit
Next Next commit
remove unused code
  • Loading branch information
EdiWang committed Oct 12, 2023
commit 9fbe754e78305683f227475bce48830cc05bcc49
9 changes: 0 additions & 9 deletions src/Moonglade.Web/PagedList/BasePagedList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,5 @@ IEnumerator IEnumerable.GetEnumerator()
/// </summary>
public virtual int Count => Subset.Count;

///<summary>
/// Gets a non-enumerable copy of this paged list.
///</summary>
///<returns>A non-enumerable copy of this paged list.</returns>
public PagedListMetaData GetMetaData()
{
return new PagedListMetaData(this);
}

#endregion
}
6 changes: 1 addition & 5 deletions src/Moonglade.Web/PagedList/IPagedList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
/// <seealso cref="IEnumerable{T}"/>
public interface IPagedList<out T> : IPagedList, IReadOnlyList<T>
{
///<summary>
/// Gets a non-enumerable copy of this paged list.
///</summary>
///<returns>A non-enumerable copy of this paged list.</returns>
PagedListMetaData GetMetaData();

}

/// <summary>
Expand Down