// WingsEmu // // Developed by NosWings Team using System.Collections.Generic; namespace PhoenixLib.DAL { /// /// IMapper facilitate mapping between an entity and a dto /// /// /// public interface IMapper { TEntity Map(TDto input); List Map(List input); IEnumerable Map(IEnumerable input); IReadOnlyList Map(IReadOnlyList input); TDto Map(TEntity input); List Map(List input); IEnumerable Map(IEnumerable input); IReadOnlyList Map(IReadOnlyList input); void Map(TDto input, TEntity output); void Map(TEntity input, TDto output); } }