Remade the proxy system to no longer use attributes and reflection (outside AutoMapper itself anyways).
System is now integrated into AutoMapper's expressions and makes use of generics for type consistency, so it should not try to handle unsupported classes.
To automatically map them, just use a class that inherits from Profile or in the mapper configuration, and call AutoCacheAndMap().
All existing proxies have also been converted to the new system.
Remade the proxy system to no longer use attributes and reflection (outside AutoMapper itself anyways). System is now integrated into AutoMapper's expressions and makes use of generics for type consistency, so it should not try to handle unsupported classes. To automatically map them, just use a class that inherits from
Profile
or in the mapper configuration, and callAutoCacheAndMap()
. All existing proxies have also been converted to the new system.