AutoMapper generic mapping
问题 I have searched on StackOverflow and googled about it but I havent been able to find any help or suggestion on this. I have a class like the following wich create a PagedList object and also uses AutoMappper to map types from source to destination public class PagedList<TSrc, TDest> { protected readonly List<TDest> _items = new List<TDest>(); public IEnumerable<TDest> Items { get { return this._items; } } } I would like to create a Map for this type that should convert it to another type like