PagedList has no public constructor
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.)
I'm agree with you, can U PR for this?
Yes. I will create it as soon as possible.
any update on this issue?
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。