namespace Abp.ObjectMapping { /// /// Defines a simple interface to map objects. /// public interface IObjectMapper { /// /// Converts an object to another. Creates a new object of . /// /// Type of the destination object /// Source object TDestination Map(object source); /// /// Execute a mapping from the source object to the existing destination object /// /// Source type /// Destination type /// Source object /// Destination object /// Returns the same object after mapping operation TDestination Map(TSource source, TDestination destination); } }