Automapper with inherited list
问题 FYI: it's different from this question Automapper and inheritance from Collection or List Here is my inherited list: public class MyPagedList<T> : List<T> { public int CurrentPage { get; set; } public int TotalPages { get; set; } public int PageSize { get; set; } public int TotalCount { get; set; } public MyPagedList() { } public MyPagedList(List<T> items, int count, int pageNumber, int pageSize) { TotalCount = count; PageSize = pageSize; CurrentPage = pageNumber; TotalPages = (int)Math