You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any reason that PagedList has no public constructor? All of the constuctors are currently internal. As a result, I can't unit test code that returns a PagedList because I can't create a PagedList to return in the unit test.
I propose exposing a public constructor - or a static class that will return a new PagedList that is modifyable outside of UnitOfWork, similar to the Empty() method.
I'll even do the work and submit a pull request, if this seems reasonable. (I think it does.)
The text was updated successfully, but these errors were encountered:
Is there any reason that PagedList has no public constructor? All of the constuctors are currently internal. As a result, I can't unit test code that returns a PagedList because I can't create a PagedList to return in the unit test.
I propose exposing a public constructor - or a static class that will return a new PagedList that is modifyable outside of UnitOfWork, similar to the Empty() method.
I'll even do the work and submit a pull request, if this seems reasonable. (I think it does.)
The text was updated successfully, but these errors were encountered: