dncuug / X.PagedList

Library for easily paging through any IEnumerable/IQueryable in ASP.NET
https://andrew.gubskiy.com/open-source
MIT License
899 stars 213 forks source link

X.PagedList: Add back the Extensions sub-namespace for extensions #290

Closed adschmu closed 1 week ago

adschmu commented 1 month ago

In 8ec71492 , the namespace in X.PagedList/PagedListExtensions.cs was changed so the .Extensions suffix was removed again.

However, this was added in 6ae094e4bd45af6318075fea17e78fc3ed935749 to separate the Extensions in the base package from the base types (e.g. IPagedList) there.

Please add it back or choose any other separate namespaces for the Extensions and the base classes.

https://github.com/dncuug/X.PagedList/blob/master/src/X.PagedList/PagedListExtensions.cs#L7

(I even wondered whether it would be suitable to create another package just with the base classes (Abstractions-like), but that's probably not worth the effort.)