© 2026 Hedgehog Software, LLC
public TDest MapTo<TSource, TDest>(TSource src) { var res = _mapper.Map<TSource, TDest>(src); return res; }
Mapper.MapTo<ObjectA, ObjectB>(instance of ObjectA);
Mapper.MapTo<ObjectB>(instance of ObjectA);